summaryrefslogtreecommitdiff
path: root/os.go
diff options
context:
space:
mode:
Diffstat (limited to 'os.go')
-rw-r--r--os.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/os.go b/os.go
index 877fa24ca..23d09fc88 100644
--- a/os.go
+++ b/os.go
@@ -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)