[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-taler-ops-www] branch master updated: hide chk behind env
From: |
gnunet |
Subject: |
[taler-taler-ops-www] branch master updated: hide chk behind env |
Date: |
Sun, 25 Feb 2024 00:48:43 +0100 |
This is an automated email from the git hooks/post-receive script.
nora pushed a commit to branch master
in repository taler-ops-www.
The following commit(s) were added to refs/heads/master by this push:
new 9c6ac18 hide chk behind env
9c6ac18 is described below
commit 9c6ac18acd3e0f0a35b3efcbad4515305d5b3456
Author: Nullptrderef <nullptrderef@national.shitposting.agency>
AuthorDate: Sun Feb 25 00:48:39 2024 +0100
hide chk behind env
---
build-system/fix-paths.mjs | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/build-system/fix-paths.mjs b/build-system/fix-paths.mjs
index a37c22b..40fd17c 100644
--- a/build-system/fix-paths.mjs
+++ b/build-system/fix-paths.mjs
@@ -25,13 +25,10 @@ const distDirRead =
recursiveReaddirSync(distDir).filter((v) =>
distDirRead.forEach((targetFile) => {
const oldContent = fs.readFileSync(targetFile, 'utf-8');
- console.log(
- 'CHK',
- targetFile,
- '=>',
- oldContent.includes('BASE_URL_RELATIVE_TO_FILE'),
- );
- if (oldContent.includes('BASE_URL_RELATIVE_TO_FILE')) {
+ const chkResult = oldContent.includes('BASE_URL_RELATIVE_TO_FILE');
+ if (process.env.DEBUG_READDIR_CHK_RES)
+ console.log('CHK', targetFile, '=>', chkResult);
+ if (chkResult) {
const newContent = oldContent.replace(
/BASE_URL_RELATIVE_TO_FILE/giu,
path.relative(path.join(targetFile, '..'), distDir),
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-taler-ops-www] branch master updated: hide chk behind env,
gnunet <=