refactor: Omit unused exception arguments from catch blocks (#8559)

Fixes #1770.
This commit is contained in:
Christopher Allen
2024-09-03 15:27:40 +01:00
committed by GitHub
parent 724828f689
commit 2409123d66
3 changed files with 3 additions and 3 deletions

View File

@@ -699,7 +699,7 @@ function buildAdvancedCompilationTest() {
// a later browser-based test won't check it should the compile fail.
try {
fs.unlinkSync('./tests/compile/main_compressed.js');
} catch (_e) {
} catch {
// Probably it didn't exist.
}