We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d568e9b commit ca877c9Copy full SHA for ca877c9
javascript/ql/lib/semmle/javascript/internal/paths/PathExprResolver.qll
@@ -172,7 +172,7 @@ module ResolveExpr<exprSig/1 shouldResolveExpr> {
172
or
173
// Resolve from baseUrl of relevant tsconfig.json file
174
path = expr.getValue() and
175
- path.isRelativePath() and
+ not path.isRelativePath() and
176
getAPathMappingFromPathExpr(expr).hasBaseUrl(base)
177
178
// If the path starts with the name of a package, but did not match any path mapping,
0 commit comments