Skip to content

Commit 039b728

Browse files
committed
Cleanup
1 parent 3d2aefd commit 039b728

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

bin/generate.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ if (args.h || args.help || args._.length > 1) {
5050
const settingsFile = args.s || path.join(__dirname, '..', 'settings.json');
5151
const outputFile = 'queries.json';
5252
compileSettings(queryDir, settingsFile, outputFile);
53-
53+
5454
// Compile Web version
5555
const destinationPath = args.d || 'build';
5656
const mode = args.m || 'production';
@@ -62,10 +62,10 @@ if (args.h || args.help || args._.length > 1) {
6262

6363
// Override the baseURL in the webpack config
6464
webpackConfig.baseURL.replace = baseURL;
65-
65+
6666
// Override the buildContext in the webpack config
6767
webpackConfig.buildContext.dir = destinationPath;
68-
68+
6969
for (const entry of webpackConfig) {
7070
entry.mode = mode;
7171
if (entry.output) {
@@ -81,12 +81,12 @@ if (args.h || args.help || args._.length > 1) {
8181
}
8282
process.exit(1);
8383
}
84-
84+
8585
console.error(stats.toString({ colors: true }));
8686
if (stats.hasErrors()) {
8787
process.exit(1);
8888
}
89-
89+
9090
fs.unlinkSync('.tmp-comunica-engine.js');
9191
});
9292

0 commit comments

Comments
 (0)