Skip to content

Commit

Permalink
feat: Print the command to the output with verbose level (#736)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdneo authored Jun 21, 2019
1 parent 6ee7e59 commit 720babd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/runners/baseRunner/BaseRunner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ export abstract class BaseRunner implements ITestRunner {
const testResultAnalyzer: BaseRunnerResultAnalyzer = this.getTestResultAnalyzer();
let data: string = '';
this.process = cp.spawn(path.join(this.javaHome, 'bin', 'java'), commandParams, options);
logger.verbose(`Executing: '${[path.join(this.javaHome, 'bin', 'java'), ...commandParams].join(' ')}'${os.EOL}`);
this.process.on('error', (error: Error) => {
logger.error('Failed to launch the runner', error);
reject(error);
Expand Down

0 comments on commit 720babd

Please sign in to comment.