From a232974eacb1c503f50432c8de88eb8a4edb2202 Mon Sep 17 00:00:00 2001 From: Alex Rudenko Date: Wed, 8 May 2024 08:53:09 +0200 Subject: [PATCH] build: do not rely on chmod (#12413) --- tools/doctest/package.json | 2 +- tools/mocha-runner/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/doctest/package.json b/tools/doctest/package.json index 62647e493ae..b9e637521e6 100644 --- a/tools/doctest/package.json +++ b/tools/doctest/package.json @@ -12,7 +12,7 @@ }, "wireit": { "build": { - "command": "tsc -b && chmod +x ./bin/doctest.js", + "command": "tsc -b && tsx ../../tools/chmod.ts 755 ./bin/doctest.js", "clean": "if-file-deleted", "files": [ "src/**" diff --git a/tools/mocha-runner/package.json b/tools/mocha-runner/package.json index 179d76f4eaf..75625ba7d78 100644 --- a/tools/mocha-runner/package.json +++ b/tools/mocha-runner/package.json @@ -13,7 +13,7 @@ }, "wireit": { "build": { - "command": "tsc -b && chmod +x ./bin/mocha-runner.js", + "command": "tsc -b && tsx ../../tools/chmod.ts 755 ./bin/mocha-runner.js", "clean": "if-file-deleted", "files": [ "src/**"