Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[fix] flatiron cli breaks without command in node 0.10.0

  • Loading branch information...
commit d15eb42e501f8bd49104693d299e1df6b0987a35 1 parent 02342d2
@julianduque julianduque authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/flatiron/plugins/cli.js
View
2  lib/flatiron/plugins/cli.js
@@ -208,7 +208,7 @@ exports.commands = function (options) {
try {
if (app.cli.sourceDir) {
- app.commands[name] = require(path.join(app.cli.source, name));
+ app.commands[name] = require(path.join(app.cli.source, name || ''));
}
else {
app.commands = common.mixin(app.commands, require(app.cli.source));
Please sign in to comment.
Something went wrong with that request. Please try again.