Handle promise linting (#5488)

This commit is contained in:
Tom Moor
2023-06-28 20:18:18 -04:00
committed by GitHub
parent f3d8129a13
commit 89d5527d39
101 changed files with 395 additions and 343 deletions

View File

@@ -55,5 +55,5 @@ export default async function main(exit = false) {
} // In the test suite we import the script rather than run via node CLI
if (process.env.NODE_ENV !== "test") {
main(true);
void main(true);
}

View File

@@ -49,5 +49,5 @@ export default async function main(exit = false) {
}
if (process.env.NODE_ENV !== "test") {
main(true);
void main(true);
}

View File

@@ -81,5 +81,5 @@ export default async function main(exit = false) {
}
if (process.env.NODE_ENV !== "test") {
main(true);
void main(true);
}

View File

@@ -67,5 +67,5 @@ export default async function main(exit = false) {
}
if (process.env.NODE_ENV !== "test") {
main(true);
void main(true);
}

View File

@@ -58,5 +58,5 @@ export default async function main(exit = false) {
} // In the test suite we import the script rather than run via node CLI
if (process.env.NODE_ENV !== "test") {
main(true);
void main(true);
}

View File

@@ -48,5 +48,5 @@ export default async function main(exit = false) {
}
if (process.env.NODE_ENV !== "test") {
main(true);
void main(true);
}