mirror of
https://github.com/denoland/deno.git
synced 2025-01-21 21:50:00 -05:00
Lint runtime.ts (#73)
This commit is contained in:
parent
b723ab126f
commit
d582d67c52
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ export function resolveModule(
|
||||||
let fetchResponse;
|
let fetchResponse;
|
||||||
try {
|
try {
|
||||||
fetchResponse = os.codeFetch(moduleSpecifier, containingFile);
|
fetchResponse = os.codeFetch(moduleSpecifier, containingFile);
|
||||||
} catch(e) {
|
} catch (e) {
|
||||||
// TODO Only catch "no such file or directory" errors. Need error codes.
|
// TODO Only catch "no such file or directory" errors. Need error codes.
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue