We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f44b585 commit 62265a2Copy full SHA for 62265a2
src/run.js
@@ -4,9 +4,14 @@ const { promisify } = require('util');
4
const exec = promisify(require('child_process').exec);
5
const debug = require('./debug');
6
7
-module.exports = async function run(command, options) {
8
- debug(command);
9
- let { stdout } = await exec(command, options);
10
- debug(stdout);
+module.exports = async function run() {
+ debug(...arguments);
+
+ let { stdout } = await exec(...arguments);
11
12
+ if (stdout) {
13
+ debug(stdout);
14
+ }
15
16
return stdout;
17
};
0 commit comments