alexanderGugel / ied

:package: Like npm, but faster - an alternative package manager for Node
http://alexandergugel.github.io/ied
MIT License
1.99k stars 53 forks source link

Fix debuglog arguments handling #132

Closed mgcrea closed 8 years ago

mgcrea commented 8 years ago
Checklist

debuglog.js

Description of change

Fix improper logging:

from:

INSTALL 96847: install
INSTALL 96847: install
INSTALL 96847: install
INSTALL 96847: install
INSTALL 96847: install
INSTALL 96847: install
INSTALL 96847: install
INSTALL 96847: install
INSTALL 96847: install
INSTALL 96847: install
INSTALL 96847: install
INSTALL 96847: install

to:

INSTALL 97189: resolving hooks-fixed@1.1.0
INSTALL 97189: resolving /Users/olivier/Projects/carlipa/carlipa-online/online-backend/packages/core-devices/node_modules/e6199c4c51eb216746581510f1a8d2be544522a1/node_modules/hooks-fixed from node_modules
INSTALL 97189: resolving kareem@1.1.0
INSTALL 97189: resolving /Users/olivier/Projects/carlipa/carlipa-online/online-backend/packages/core-devices/node_modules/e6199c4c51eb216746581510f1a8d2be544522a1/node_modules/kareem from node_modules
INSTALL 97189: resolving mongodb@2.1.18
INSTALL 97189: resolving /Users/olivier/Projects/carlipa/carlipa-online/online-backend/packages/core-devices/node_modules/e6199c4c51eb216746581510f1a8d2be544522a1/node_modules/mongodb from node_modules
alexanderGugel commented 8 years ago

Thanks. Good catch. Can you keep the ... and get rid of the apply instead please?

const msg = util.format(args...)
mgcrea commented 8 years ago

@alexanderGugel done.

alexanderGugel commented 8 years ago

Thanks.