(value: string | undefined)
| 58 | |
| 59 | // env vars from the cli are always strings, so !!ENV_VAR returns true for "false" |
| 60 | function bool(value: string | undefined): boolean { |
| 61 | return Boolean(value) && value !== "false" && value !== "0"; |
| 62 | } |
| 63 | |
| 64 | /** |
| 65 | * map source code path to the generated artifacts path |