Skip to content

Commit

Permalink
Merge pull request #94 from kerihenare/bugfix-issue-82
Browse files Browse the repository at this point in the history
[FIX] CLI: create tasks errors without path
  • Loading branch information
jaredhanson committed Nov 29, 2013
2 parents e20d964 + af25ffd commit 7dc5a66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/lcm.js
Expand Up @@ -7,8 +7,8 @@ program.version(locomotive.version);

program.command('create')
.description('-> create Locomotive application')
.action(function() {
locomotive.cli.create(program.args.shift() || '.');
.action(function(path) {
locomotive.cli.create('string' === typeof path ? path : '.');
});

program.command('server')
Expand Down

0 comments on commit 7dc5a66

Please sign in to comment.