Skip to content

Commit 954de74

Browse files
committed
Make yarn-run-dev not move queries.json to build folder
1 parent b90d1ee commit 954de74

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
@@ -85,4 +85,7 @@ if (args.h || args.help || args._.length > 1) {
8585

8686
fs.unlinkSync('.tmp-comunica-engine.js');
8787
});
88+
if (fs.existsSync(path.join(process.cwd(), 'queries.json'))) {
89+
fs.renameSync(path.join(process.cwd(), 'queries.json'), path.join(process.cwd(), `${destinationPath}/queries.json`));
90+
};
8891
})();

0 commit comments

Comments
 (0)