Skip to content

Commit

Permalink
Fix typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
HakurouKen committed Nov 30, 2016
1 parent 648f766 commit cd7e790
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/nodeppt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ program
console.log();
});

function assertPathWarn(){
function assetPathWarn(){
console.warn('The asset-path params will be ignored when output all files.');
}

Expand All @@ -58,15 +58,15 @@ program
filename = cmd;
shouldAll = options.all;
if (options.assetPath && shouldAll ) {
assertPathWarn();
assetPathWarn();
} else {
path = options.assetPath;
}
} else if (typeof cmd === 'object') {
shouldAll = cmd.all;
output = cmd.output;
if (cmd.assetPath && shouldAll ) {
assertPathWarn();
assetPathWarn();
} else {
path = cmd.assetPath;
}
Expand Down

0 comments on commit cd7e790

Please sign in to comment.