From 3137ea5f45d9ac286e1e87d9f58bee605c6a65b0 Mon Sep 17 00:00:00 2001 From: Benjie Gillam Date: Fri, 21 Jun 2024 11:02:46 +0100 Subject: [PATCH] Fix bug running tsc in some situations --- integrationTests/ts/test.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/integrationTests/ts/test.js b/integrationTests/ts/test.js index 158aee4cf6..fe5c9fa195 100644 --- a/integrationTests/ts/test.js +++ b/integrationTests/ts/test.js @@ -1,5 +1,6 @@ 'use strict'; +const fs = require('fs'); const path = require('path'); const childProcess = require('child_process'); @@ -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' }); }