Skip to content

Commit 3710ecc

Browse files
committed
TSERV-782: Improved message;print report for async with the flag
1 parent e9df332 commit 3710ecc

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

bin/run_functions.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,13 @@ function executeProject(filename, project, options) {
377377
jobId = result.body['testjobId'];
378378
if (config.verbose || options.async) {
379379
util.output("TestJoB ID: " + jobId);
380-
} else {
380+
}
381+
382+
if (('printReport' in options) && options.async) {
383+
util.output("Report is printed only for synchronous job");
384+
}
385+
386+
if (!options.async && ('printReport' in options)) {
381387
util.output(utility.inspect(result.body, { showHidden: false, depth: null}));
382388
}
383389

0 commit comments

Comments
 (0)