log: change the way the file mode is logged

Signed-off-by: Christopher Zorn <czorn@flexport.com>
This commit is contained in:
Christopher Zorn
2021-09-02 10:12:52 -07:00
parent 04aad2dab5
commit a5c71b627c
@@ -264,7 +264,7 @@ export function createFetchTemplateAction(options: {
} else {
const statsObj = await fs.stat(inputFilePath);
ctx.logger.info(
`Writing file ${location} to template output path. mode: ${statsObj.mode}`,
`Writing file ${location} to template output path with mode ${statsObj.mode}.`,
);
const inputFileContents = await fs.readFile(inputFilePath, 'utf-8');
await fs.outputFile(