(input: ParseSource)
| 27 | } |
| 28 | |
| 29 | function dir(input: ParseSource) { |
| 30 | return input.type === "path" ? path.dirname(input.path) : input.dir |
| 31 | } |
| 32 | |
| 33 | /** Apply {env:VAR} and {file:path} substitutions to config text. */ |
| 34 | export async function substitute(input: SubstituteInput) { |