(noStrictValidation bool)
| 122 | } |
| 123 | |
| 124 | func WithNoStrictValidation(noStrictValidation bool) NewOpt { |
| 125 | return func(c *Crafter) error { |
| 126 | c.noStrictValidation = noStrictValidation |
| 127 | return nil |
| 128 | } |
| 129 | } |
| 130 | |
| 131 | // WorkingDir returns the working directory used for file discovery. |
| 132 | func (c *Crafter) WorkingDir() string { |