Skip to content

Commit d0a7d78

Browse files
author
Zack Michael
committed
fixed issues with using validator as a global cli
1 parent e4022db commit d0a7d78

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

bin/bids-validator

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env node
2+
13
process.title = 'bids-validator';
24
var args = process.argv;
35

index.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,3 @@ var validate = require('./validators');
44
// export validations for use in other applications
55
module.exports = validate;
66

7-
// import and init command line interface
8-
require('./cli')();
9-

0 commit comments

Comments
 (0)