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.
{ stdio: 'inherit' }
1 parent 6ae9eac commit f807db7Copy full SHA for f807db7
local-cli/runWpf/utils/msbuildtools.js
@@ -57,8 +57,11 @@ class MSBuildTools {
57
58
const cmd = `"${path.join(this.path, 'msbuild.exe')}" ` + ['"' + slnFile + '"'].concat(args).join(' ');
59
const execOptions = verbose ? { stdio: 'inherit' } : {};
60
- const results = child_process.execSync(cmd, execOptions).toString().split(EOL);
61
- results.forEach(result => console.log(chalk.white(result)));
+ const result = child_process.execSync(cmd, execOptions);
+ // result is null when enabling verbose option
62
+ if (result != null) {
63
+ result.toString().split(EOL).forEach(result => console.log(chalk.white(result)));
64
+ }
65
}
66
67
0 commit comments