Skip to content

Commit

Permalink
Remove unnecessary code (#520)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukehutch committed May 17, 2021
1 parent c9ac99c commit e5cab34
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/main/java/nonapi/io/github/classgraph/utils/FileUtils.java
Expand Up @@ -128,16 +128,6 @@ public static String currDirPath() {
// Fall through
}
}
if (path == null) {
try {
path = Paths.get(".");
if (!path.toFile().canRead()) {
path = null;
}
} catch (final InvalidPathException | UnsupportedOperationException | SecurityException e) {
// Fall through
}
}
// Try normalizing path
currDirPathStr = "";
if (path != null) {
Expand Down

0 comments on commit e5cab34

Please sign in to comment.