Skip to content

Commit f53d075

Browse files
committed
fix: lint
1 parent 74055a4 commit f53d075

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/plugins/community/splatoon/index.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ export default async function({login, q, imports, data, account}, {enabled = fal
5555

5656
//Read fetched data
5757
const exported = await Promise.all(
58-
(await imports.fs.readdir(`${imports.__module(import.meta.url)}/s3si/${source == "mocks" ? "mocks" : "export"}`))
59-
.map(async file => JSON.parse(await imports.fs.readFile(`${imports.__module(import.meta.url)}/s3si/${source == "mocks" ? "mocks" : "export"}/${file}`))),
58+
(await imports.fs.readdir(`${imports.__module(import.meta.url)}/s3si/${source === "mocks" ? "mocks" : "export"}`))
59+
.map(async file => JSON.parse(await imports.fs.readFile(`${imports.__module(import.meta.url)}/s3si/${source === "mocks" ? "mocks" : "export"}/${file}`))),
6060
)
6161
const summary = exported.filter(({type}) => type === "SUMMARY").at(0)
6262
if (!summary)

0 commit comments

Comments
 (0)