diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2018-05-30 18:05:23 +0200 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-05-30 18:26:03 +0200 |
commit | 4f00218d6d2bd6169b08e6c83cff52852e621985 (patch) | |
tree | 060fee0423694c714800990a79ad3997899f3848 /os.go | |
parent | e401d9e21bd3803d7d329ed8b7c831127f12832f (diff) |
Remove extension hack in ResolveModule.
Diffstat (limited to 'os.go')
-rw-r--r-- | os.go | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -76,11 +76,6 @@ func ResolveModule(moduleSpecifier string, containingFile string) ( containingFile = SrcFileToUrl(containingFile) moduleSpecifier = SrcFileToUrl(moduleSpecifier) - // Hack: If there is no extension, just add .ts - if path.Ext(moduleSpecifier) == "" { - moduleSpecifier = moduleSpecifier + ".ts" - } - logDebug("os.go ResolveModule after moduleSpecifier %s containingFile %s", moduleSpecifier, containingFile) |