mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
feature(util) log: add if lArg[0]
This commit is contained in:
parent
c66577f79f
commit
5a9c75975e
1 changed files with 1 additions and 1 deletions
|
|
@ -395,7 +395,7 @@ Util = exports || {};
|
|||
lShift = Util.bind([].shift, lArg),
|
||||
lJoin = Util.bind([].join, lArg);
|
||||
|
||||
if (lConsole && lArg.length) {
|
||||
if (lConsole && lArg.length && lArg[0]) {
|
||||
lUnShift(lDate);
|
||||
lConsole.log.apply(lConsole, lArg);
|
||||
lShift();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue