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 4ec3289 commit 00cfc77Copy full SHA for 00cfc77
javascript/extractor/src/com/semmle/js/extractor/Main.java
@@ -344,7 +344,7 @@ public boolean matches(String path) {
344
for (String pattern : ap.getZeroOrMore(P_EXCLUDE))
345
addPathPattern(excludes, System.getProperty("user.dir"), pattern);
346
for (String excl : ap.getZeroOrMore(P_EXCLUDE_PATH)) {
347
- File exclFile = new File(new File(System.getProperty("user.dir")), excl).getAbsoluteFile();
+ File exclFile = new File(excl).getAbsoluteFile();
348
String base = exclFile.getParent();
349
for (String pattern : NEWLINE.split(new WholeIO().strictread(exclFile)))
350
addPathPattern(excludes, base, pattern);
0 commit comments