uber / standard

JavaScript Standard Style — One Style to Rule Them All
MIT License
70 stars 8 forks source link

Error when running uber-standard --format <file>.js #32

Open masterginger opened 9 years ago

masterginger commented 9 years ago

Octopus:common bian$ uber-standard --format common.js

/Users/bian/.nvm/v0.10.26/lib/node_modules/uber-standard/node_modules/commondir/index.js:25 }, files[0].split(/\/+|+/)); ^ TypeError: Cannot call method 'split' of undefined at module.exports (/Users/bian/.nvm/v0.10.26/lib/node_modules/uber-standard/node_modules/commondir/index.js:25:17) at Object.lintOpts._onFiles (/Users/bian/.nvm/v0.10.26/lib/node_modules/uber-standard/bin/cmd.js:106:29) at /Users/bian/.nvm/v0.10.26/lib/node_modules/uber-standard/index.js:137:29 at zalgoSafe (/Users/bian/.nvm/v0.10.26/lib/node_modules/uber-standard/node_modules/dezalgo/dezalgo.js:20:10) at done (/Users/bian/.nvm/v0.10.26/lib/node_modules/uber-standard/node_modules/run-parallel/index.js:18:15) at f (/Users/bian/.nvm/v0.10.26/lib/node_modules/uber-standard/node_modules/glob/node_modules/once/once.js:17:25) at Glob. (/Users/bian/.nvm/v0.10.26/lib/node_modules/uber-standard/node_modules/glob/glob.js:133:7) at Glob.EventEmitter.emit (events.js:95:17) at Glob._finish (/Users/bian/.nvm/v0.10.26/lib/node_modules/uber-standard/node_modules/glob/glob.js:172:8) at done (/Users/bian/.nvm/v0.10.26/lib/node_modules/uber-standard/node_modules/glob/glob.js:159:12)