Eslint migration 4 (#13773)

A new attempt to migrate!
This commit is contained in:
Félix Malfait
2025-08-08 16:21:57 +02:00
committed by GitHub
parent 81012ab1fb
commit 5fae14377a
36 changed files with 1206 additions and 510 deletions
+6 -2
View File
@@ -14,7 +14,9 @@ export const performQuery = async <T = unknown>(
try {
const result = await rawDataSource.query<T>(query);
withLog && console.log(`Performed '${consoleDescription}' successfully`);
if (withLog) {
console.log(`Performed '${consoleDescription}' successfully`);
}
return result;
} catch (err) {
@@ -25,6 +27,8 @@ export const performQuery = async <T = unknown>(
} else {
message = `Failed to perform '${consoleDescription}': ${err}`;
}
withLog && console.error(message);
if (withLog) {
console.error(message);
}
}
};