Skip to content

Commit

Permalink
fix execution in azure problem to execute with node16 instead of node10
Browse files Browse the repository at this point in the history
  • Loading branch information
BenAlvo1 committed Oct 6, 2024
1 parent 3b7fcfd commit d2327f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cxAstScan/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,12 @@
}
],
"execution": {
"Node10": {
"Node16": {
"target": "./dist/index.js"
}
},
"postjobexecution": {
"Node10": {
"Node16": {
"target": "./dist/cleanup.js"
}
},
Expand Down
2 changes: 1 addition & 1 deletion cxAstScan/test/_suite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ describe('Task runner test', function () {

const tp = path.join(__dirname, 'success_cancel.js');
const tr: ttm.MockTestRunner = new ttm.MockTestRunner(tp);
tr.run(16);
tr.run(nodeVersion);
console.log(tr.stdout);
assert.strictEqual(tr.stdout.indexOf('Canceling scan with ID') >= 0,
true,
Expand Down

0 comments on commit d2327f0

Please sign in to comment.