From 6ccecfa312944035af0439d06bf5bcb360d34ea4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?I=C3=B1aki=20Baz=20Castillo?= Date: Thu, 26 Oct 2023 16:04:09 +0200 Subject: [PATCH] TMP: for testing bug in CI Node 20 https://github.com/versatica/mediasoup-client/actions/runs/6654886963/job/18084621753 --- npm-scripts.mjs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/npm-scripts.mjs b/npm-scripts.mjs index 7dfa06b2..4ee7eb13 100644 --- a/npm-scripts.mjs +++ b/npm-scripts.mjs @@ -118,17 +118,19 @@ function replaceVersion() const files = fs.readdirSync('lib', { withFileTypes : true, - recursive : true + recursive : false }); for (const file of files) { + console.log('--- file:', file); if (!file.isFile()) { continue; } const filePath = path.join('lib', file.name); + console.log('--- filePath:', filePath); const text = fs.readFileSync(filePath, { encoding: 'utf8' }); const result = text.replace(/__MEDIASOUP_CLIENT_VERSION__/g, PKG.version);