Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

help fix

  • Loading branch information...
commit 2be0381ca52624b24910561d6984d9bcc7c4bf0e 1 parent 3fbbf78
@contra contra authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 bin/cli.coffee
View
6 bin/cli.coffee
@@ -32,10 +32,10 @@ defaultHelp = (commandPath, args) ->
require(commandPath + 'help').exe(commando, args)
else
files = fs.readdirSync commandPath
- return console.log 'No commands found.' unless files
+ return log.error 'No commands found.' unless files
commands = (path.basename(x, path.extname(x)) for x in files)
- console.log 'Available Commands:'
- console.log(' - ' + command) for command in commands
+ log.info 'Available Commands:'
+ log.info " - #{command}" for command in commands
commandExists = (command) ->
try
Please sign in to comment.
Something went wrong with that request. Please try again.