From 0c74c8c03700f0f1af4f5b275ec0fee2f09b52a8 Mon Sep 17 00:00:00 2001 From: Michael Sverdlov Date: Thu, 5 Oct 2023 18:38:49 +0300 Subject: [PATCH] fix latest build Signed-off-by: Michael Sverdlov --- build/npm/v2-jf/init.js | 2 +- build/npm/v2/init.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/npm/v2-jf/init.js b/build/npm/v2-jf/init.js index 7f939af59..4f79dfa4b 100644 --- a/build/npm/v2-jf/init.js +++ b/build/npm/v2-jf/init.js @@ -110,7 +110,7 @@ function writeToFile(response) { .on("end", function () { file.end(); if (!process.platform.startsWith("win")) { - chmodSync(filePath, 755); + chmodSync(filePath, '755'); } }) .on("error", function (err) { diff --git a/build/npm/v2/init.js b/build/npm/v2/init.js index b94ea0c0e..1f919b3da 100644 --- a/build/npm/v2/init.js +++ b/build/npm/v2/init.js @@ -110,7 +110,7 @@ function writeToFile(response) { .on("end", function () { file.end(); if (!process.platform.startsWith("win")) { - chmodSync(filePath, 0o555); + chmodSync(filePath, '755'); } }) .on("error", function (err) {