Skip to content

Commit db320eb

Browse files
committed
vfs: fix lint in loader override helpers
1 parent 673bed4 commit db320eb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/internal/modules/helpers.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ const {
1212
ReflectApply,
1313
SafeMap,
1414
SafeSet,
15-
Symbol,
1615
StringPrototypeCharCodeAt,
1716
StringPrototypeIncludes,
1817
StringPrototypeSlice,
1918
StringPrototypeStartsWith,
19+
Symbol,
2020
} = primordials;
2121
const {
2222
ERR_INVALID_ARG_TYPE,
@@ -114,7 +114,7 @@ function wrapLoaderMethod(key, originalFn) {
114114
const override = MapPrototypeGet(loaderOverrides, key);
115115
if (override !== undefined) {
116116
const result = ReflectApply(override, undefined, args);
117-
if (result === kLoaderOverrideNoResult) return undefined;
117+
if (result === kLoaderOverrideNoResult) { return undefined; }
118118
if (result !== undefined) { return result; }
119119
}
120120
}

0 commit comments

Comments
 (0)