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 c1c360b commit 1bd8802Copy full SHA for 1bd8802
src/main/java/com/factsmission/psps/JGitRepository.java
@@ -113,6 +113,9 @@ public String getCommitURL() throws IOException {
113
@Override
114
public byte[] getContent(String repoPath) throws IOException {
115
Path path = workingDir.resolve(repoPath);
116
+ if (!Files.exists(path)) {
117
+ return null;
118
+ }
119
if (Files.isDirectory(path)) {
120
return null;
121
}
0 commit comments