Browse Source

fix spelling mistake

pull/14/head
Brett Langdon 11 years ago
parent
commit
9ccf256386
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      bin/dogapi

+ 1
- 1
bin/dogapi View File

@ -44,7 +44,7 @@ if(command === "now"){
} else if(command === "then" && args._.length > 3){
console.log(dogapi.now() - parseInt(args._[args._.length - 1]));
} else if(dogapi.hasOwnProperty(command)){
if(subcommand && dogapi[command].hasOwnProperty(subcomand)){
if(subcommand && dogapi[command].hasOwnProperty(subcommand)){
dogapi[command].handleCli(subcommand, args, function(err, res){
if(err){
console.error(err);


Loading…
Cancel
Save