Skip to content
This repository was archived by the owner on Mar 8, 2021. It is now read-only.
This repository was archived by the owner on Mar 8, 2021. It is now read-only.

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

@masterginger

Description

@masterginger

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions