We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed0555b commit d45d340Copy full SHA for d45d340
cli/src/main/kotlin/com/bazel_diff/hash/SourceFileHasher.kt
@@ -45,8 +45,10 @@ class SourceFileHasher : KoinComponent {
45
} else {
46
val absoluteFilePath = Paths.get(workingDirectory.toString(), filenamePath)
47
val file = absoluteFilePath.toFile()
48
- if (file.exists() && file.isFile) {
49
- putFile(file)
+ if (file.exists()) {
+ if (file.isFile) {
50
+ putFile(file)
51
+ }
52
53
logger.w { "File $absoluteFilePath not found" }
54
}
0 commit comments