Skip to content

Commit 3e68e3d

Browse files
committed
Make yarn-run-dev not move queries.json to build folder
1 parent ecbc805 commit 3e68e3d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bin/generate.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,4 +82,7 @@ if (args.h || args.help || args._.length > 1) {
8282

8383
fs.unlinkSync('.tmp-comunica-engine.js');
8484
});
85+
if (fs.existsSync(path.join(process.cwd(), 'queries.json'))) {
86+
fs.renameSync(path.join(process.cwd(), 'queries.json'), path.join(process.cwd(), `${destinationPath}/queries.json`));
87+
};
8588
})();

0 commit comments

Comments
 (0)