From dd0be8b322cfb9d6a4c26727633d103833536d66 Mon Sep 17 00:00:00 2001 From: Simon Van Braeckel Date: Fri, 11 Oct 2024 15:41:39 +0200 Subject: [PATCH] Undo change, can't force CI to run on github --- bin/generate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/generate.js b/bin/generate.js index 23bb30f..a7dcf8b 100755 --- a/bin/generate.js +++ b/bin/generate.js @@ -90,7 +90,7 @@ if (args.h || args.help || args._.length > 1) { fs.unlinkSync('.tmp-comunica-engine.js'); }); - if (fs.existsSync(path.join(process.cwd(), 'queries.json')) && fs.access(path.join(process.cwd(), 'build'))) { + if (fs.existsSync(path.join(process.cwd(), 'queries.json'))) { fs.renameSync(path.join(process.cwd(), 'queries.json'), path.join(process.cwd(), `${destinationPath}/queries.json`)); }; })();