Skip to content

Commit 9397a14

Browse files
author
Pieter Colpaert
committed
Fixed cli formats
1 parent cb87aee commit 9397a14

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gtfs-csv2rdf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ if (process.argv[3]) {
3434
}
3535

3636
var type = "turtle";
37-
if (process.argv[5] && ['jsonld','turtle','ntriples'].indexOf(process.argv[5]) !== -1 ) {
38-
type = process.argv[5];
37+
if (process.argv[4] && ['jsonld','turtle','ntriples'].indexOf(process.argv[4]) !== -1 ) {
38+
type = process.argv[4];
3939
}
4040

4141
if (!fs.existsSync(path)) {

0 commit comments

Comments
 (0)