Skip to content
This repository was archived by the owner on Jan 21, 2024. It is now read-only.

Commit 5b9764c

Browse files
committed
Update: Added more debug messages
Signed-off-by: Pawel Psztyc <jarrodek@gmail.com>
1 parent cea2218 commit 5b9764c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/dependencies.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -270,9 +270,9 @@ class DependendenciesManager {
270270
exec(cmd, opts, (err, stdout, stderr) => {
271271
if (err) {
272272
let currentDir = opts.cwd || process.cwd();
273-
reject(new Error('Unable to execute command: ' + err.message +
274-
'. Was in dir: ' + currentDir + '. stdout: ', stdout, '. stderr: ',
275-
stderr));
273+
reject(new Error(' Unable to execute previous command with error: ' +
274+
err.message + '.\n Was in dir: ' + currentDir + '. stdout: ',
275+
stdout, '. stderr: ', stderr));
276276
return;
277277
}
278278
resolve(stdout);

0 commit comments

Comments
 (0)