mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-10 00:08:22 +03:00
reduce require-await to warn instead of err
This commit is contained in:
+1
-1
@@ -33,7 +33,7 @@
|
||||
}],
|
||||
"@typescript-eslint/explicit-module-boundary-types": "off",
|
||||
"@typescript-eslint/no-non-null-assertion": "off",
|
||||
"require-await": "error",
|
||||
"require-await": "warn",
|
||||
"no-await-in-loop": "warn",
|
||||
"no-unused-labels": "error",
|
||||
"prefer-const": "off",
|
||||
|
||||
@@ -161,6 +161,7 @@ export default async function ScoreImportMain<D, C>(
|
||||
db["import-timings"].insert({
|
||||
importID,
|
||||
timestamp: Date.now(),
|
||||
total: ImportDocument.timeFinished - timeStarted,
|
||||
rel: {
|
||||
import: importTimeRel,
|
||||
importParse: importParseTimeRel,
|
||||
|
||||
Reference in New Issue
Block a user