diff options
Diffstat (limited to 'runtime.ts')
-rw-r--r-- | runtime.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime.ts b/runtime.ts index 01dbf76ac..7d6633ca9 100644 --- a/runtime.ts +++ b/runtime.ts @@ -99,8 +99,10 @@ export function resolveModule( moduleSpecifier: string, containingFile: string ): FileModule { + util.assert(moduleSpecifier != null && moduleSpecifier.length > 0); // We ask golang to sourceCodeFetch. It will load the sourceCode and if // there is any outputCode cached, it will return that as well. + util.log("resolveModule", { moduleSpecifier, containingFile }); const { filename, sourceCode, outputCode } = os.sourceCodeFetch( moduleSpecifier, containingFile |