Skip to content

Commit 2253688

Browse files
committed
Remove unnecessary default
1 parent a5b1b5e commit 2253688

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/moduleNameResolver.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1371,7 +1371,7 @@ namespace ts {
13711371
const resolved = forEach(paths[matchedPatternText], subst => {
13721372
const path = matchedStar ? subst.replace("*", matchedStar) : subst;
13731373
// When baseUrl is not specified, the command line parser resolves relative paths to the config file location.
1374-
const candidate = normalizePath(combinePaths(baseDirectory || "", path));
1374+
const candidate = normalizePath(combinePaths(baseDirectory, path));
13751375
if (state.traceEnabled) {
13761376
trace(state.host, Diagnostics.Trying_substitution_0_candidate_module_location_Colon_1, subst, path);
13771377
}

0 commit comments

Comments
 (0)