File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2120,9 +2120,9 @@ returned object contains the following keys:
21202120[` -- enable- source- maps` ]: cli.md#--enable-source-maps
21212121[` -- import ` ]: cli.md#--importmodule
21222122[` --require` ]: cli.md#-r---require-module
2123+ [` HostLoadImportedModule` ]: https://tc39.es/ecma262/#sec-HostLoadImportedModule
21232124[` NODE_COMPILE_CACHE=dir` ]: cli.md#node_compile_cachedir
21242125[` NODE_COMPILE_CACHE_PORTABLE=1` ]: cli.md#node_compile_cache_portable1
2125- [` HostLoadImportedModule` ]: https://tc39.es/ecma262/#sec-HostLoadImportedModule
21262126[` NODE_DISABLE_COMPILE_CACHE=1` ]: cli.md#node_disable_compile_cache1
21272127[` NODE_V8_COVERAGE=dir` ]: cli.md#node_v8_coveragedir
21282128[` SourceMap` ]: #class-modulesourcemap
Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ function resolveClearCacheFilename(specifier, parentPath) {
111111 }
112112 request = fileURLToPath ( parsedURL ) ;
113113 } else {
114- // Non-file URLs (e.g. virtual://) — pass the href as-is
114+ // Non-file URLs (e.g. virtual://) - pass the href as-is
115115 // so that registered hooks can resolve them.
116116 request = parsedURL . href ;
117117 }
@@ -125,7 +125,7 @@ function resolveClearCacheFilename(specifier, parentPath) {
125125 }
126126 return filename ;
127127 } catch {
128- // Resolution can fail for non-file specifiers without hooks — return null
128+ // Resolution can fail for non-file specifiers without hooks - return null
129129 // to silently skip clearing rather than throwing.
130130 return null ;
131131 }
You can’t perform that action at this time.
0 commit comments