Skip to content

Commit

Permalink
fix filename
Browse files Browse the repository at this point in the history
  • Loading branch information
miklcct committed Sep 13, 2024
1 parent d55bbad commit 5ef1497
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/OutputGTFSCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export class OutputGTFSCommand implements CLICommand {
*/
private async copy(results: object[] | Promise<object[]>, filename: string): Promise<void> {
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));
Expand Down

0 comments on commit 5ef1497

Please sign in to comment.