Skip to content

Commit 2d67880

Browse files
authored
Update compare_drill_aggregated_csv.js
1 parent 3ff6ece commit 2d67880

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

bin/scripts/data-reports/compare_drill_aggregated.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ Promise.all([pluginManager.dbConnection("countly"), pluginManager.dbConnection("
209209
console.log(eee);
210210
reject();
211211
});
212-
}
212+
}
213213
else {
214214
console.log("No events in the App");
215215
console.log("---------------------------------");
@@ -238,7 +238,7 @@ Promise.all([pluginManager.dbConnection("countly"), pluginManager.dbConnection("
238238

239239
console.log(JSON.stringify(endReport));
240240
close();
241-
}
241+
}
242242
catch (err) {
243243
console.error("Failed to save partial report:", err);
244244
}
@@ -260,7 +260,7 @@ Promise.all([pluginManager.dbConnection("countly"), pluginManager.dbConnection("
260260
}
261261
fs.writeFileSync(path, csvRows.join("\n"));
262262
console.log("Partial summary report saved to '" + path + "'.");
263-
}
263+
}
264264
catch (err) {
265265
console.error("Failed to save partial report:", err);
266266
}
@@ -269,10 +269,10 @@ Promise.all([pluginManager.dbConnection("countly"), pluginManager.dbConnection("
269269
}
270270
function close() {
271271
try {
272-
if (countlyDb?.close) {
272+
if (countlyDb?.close) {
273273
countlyDb.close();
274274
}
275-
if (drillDb?.close) {
275+
if (drillDb?.close) {
276276
drillDb.close();
277277
}
278278
}

0 commit comments

Comments
 (0)