1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -05:00

Lint runtime.ts (#73)

This commit is contained in:
Frank Fang 2018-06-02 02:33:16 +08:00 committed by Ryan Dahl
parent b723ab126f
commit d582d67c52

View file

@ -149,7 +149,7 @@ export function resolveModule(
let fetchResponse;
try {
fetchResponse = os.codeFetch(moduleSpecifier, containingFile);
} catch(e) {
} catch (e) {
// TODO Only catch "no such file or directory" errors. Need error codes.
return null;
}