From 5ef1497cd32fd809c7db52422c9ab69733f2216b Mon Sep 17 00:00:00 2001 From: Michael Tsang Date: Fri, 13 Sep 2024 15:02:24 +0100 Subject: [PATCH] fix filename --- src/cli/OutputGTFSCommand.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/OutputGTFSCommand.ts b/src/cli/OutputGTFSCommand.ts index 140f036b..500cff33 100644 --- a/src/cli/OutputGTFSCommand.ts +++ b/src/cli/OutputGTFSCommand.ts @@ -68,7 +68,7 @@ export class OutputGTFSCommand implements CLICommand { */ private async copy(results: object[] | Promise, filename: string): Promise { const rows = await results; - const output = this.output.open(`${this.baseDir}/filename`); + const output = this.output.open(`${this.baseDir}/${filename}`); console.log("Writing " + filename); rows.forEach(row => output.write(row));