Fix incorrect relative module name detection (#19702)

This commit is contained in:
Mohamed Hegazy
2017-11-03 08:59:19 -07:00
committed by GitHub
parent d54ad4b01a
commit 1e89e78dd2
8 changed files with 48 additions and 3 deletions

View File

@@ -64,7 +64,6 @@ module Commands {
}
if (path.charAt(1) === ":") {
if (path.charAt(2) === directorySeparator) return 3;
return 2;
}
return 0;
}