Handle promise linting (#5488)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -49,5 +49,5 @@ export default async function main(exit = false) {
|
||||
}
|
||||
|
||||
if (process.env.NODE_ENV !== "test") {
|
||||
main(true);
|
||||
void main(true);
|
||||
}
|
||||
|
||||
@@ -81,5 +81,5 @@ export default async function main(exit = false) {
|
||||
}
|
||||
|
||||
if (process.env.NODE_ENV !== "test") {
|
||||
main(true);
|
||||
void main(true);
|
||||
}
|
||||
|
||||
@@ -67,5 +67,5 @@ export default async function main(exit = false) {
|
||||
}
|
||||
|
||||
if (process.env.NODE_ENV !== "test") {
|
||||
main(true);
|
||||
void main(true);
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
@@ -48,5 +48,5 @@ export default async function main(exit = false) {
|
||||
}
|
||||
|
||||
if (process.env.NODE_ENV !== "test") {
|
||||
main(true);
|
||||
void main(true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user