mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-21 02:29:23 +00:00
feature(tryRequire) rm module.parent.filename
This commit is contained in:
parent
bc5df75b30
commit
6b8c8d9c33
1 changed files with 1 additions and 5 deletions
|
|
@ -11,11 +11,7 @@
|
|||
|
||||
if (error) {
|
||||
if (o.log)
|
||||
console.error([
|
||||
module.parent.filename + ':',
|
||||
error.code,
|
||||
'\'' + name + '\'',
|
||||
].join(' '));
|
||||
console.error(error.message);
|
||||
else if (o.callback)
|
||||
result = exec.bind(null, error);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue