Skip to content

Commit

Permalink
Fix bug running tsc in some situations
Browse files Browse the repository at this point in the history
  • Loading branch information
benjie committed Jun 21, 2024
1 parent ea7ceb7 commit 3137ea5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions integrationTests/ts/test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
'use strict';

const fs = require('fs');
const path = require('path');
const childProcess = require('child_process');

Expand All @@ -13,5 +14,6 @@ for (const version of tsVersions) {
console.log(`Testing on ${version} ...`);

const tscPath = path.join(__dirname, 'node_modules', version, 'bin/tsc');
fs.chmodSync(tscPath, 0o755);
childProcess.execSync(tscPath, { stdio: 'inherit' });
}

0 comments on commit 3137ea5

Please sign in to comment.