Skip to content

Commit 6734ec4

Browse files
committed
fix lint failure
1 parent db8fd99 commit 6734ec4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ export function create (rawOptions: CreateOptions = {}): Register {
454454
if (fileURLToPath && path.startsWith('file://')) {
455455
try {
456456
path = fileURLToPath(path)
457-
} catch (e) {}
457+
} catch (e) {/* swallow error */}
458458
}
459459
path = normalizeSlashes(path)
460460
return outputCache.get(path)?.content || ''

0 commit comments

Comments
 (0)