|
@@ -40937,7 +40937,7 @@ ${lanes.join("\n")}
|
|
|
trace(state.host, Diagnostics.Module_name_0_matched_pattern_1, moduleName, matchedPatternText);
|
|
|
}
|
|
|
const resolved = forEach(paths[matchedPatternText], (subst) => {
|
|
|
- const path = matchedStar ? subst.replace("*", matchedStar) : subst;
|
|
|
+ const path = matchedStar ? subst.replace("*", matchedStar) : subst; // CodeQL [SM02383] This is a false positive, the code is from the TypeScript compiler
|
|
|
const candidate = normalizePath(combinePaths(baseDirectory, path));
|
|
|
if (state.traceEnabled) {
|
|
|
trace(state.host, Diagnostics.Trying_substitution_0_candidate_module_location_Colon_1, subst, path);
|