From cd7e790c0635093a069a3384a82221fe37ed1a2f Mon Sep 17 00:00:00 2001 From: hakurouken Date: Thu, 1 Dec 2016 00:31:34 +0800 Subject: [PATCH] Fix typos. --- bin/nodeppt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/nodeppt b/bin/nodeppt index 9a47bad37..207b377e6 100755 --- a/bin/nodeppt +++ b/bin/nodeppt @@ -34,7 +34,7 @@ program console.log(); }); -function assertPathWarn(){ +function assetPathWarn(){ console.warn('The asset-path params will be ignored when output all files.'); } @@ -58,7 +58,7 @@ program filename = cmd; shouldAll = options.all; if (options.assetPath && shouldAll ) { - assertPathWarn(); + assetPathWarn(); } else { path = options.assetPath; } @@ -66,7 +66,7 @@ program shouldAll = cmd.all; output = cmd.output; if (cmd.assetPath && shouldAll ) { - assertPathWarn(); + assetPathWarn(); } else { path = cmd.assetPath; }