Skip to content

Commit

Permalink
fix: Incorrect conversion to string when equals to null (#619)
Browse files Browse the repository at this point in the history
Signed-off-by: Oleg Kopysov <[email protected]>
  • Loading branch information
o-kopysov authored Sep 23, 2024
1 parent 9f5d6ba commit 460f04c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/lpvs/util/LPVSFileUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ public static String getLocalDirectoryPath(LPVSQueue webhookConfig) {
+ File.separator
+ LPVSPayloadUtil.getRepositoryName(webhookConfig)
+ File.separator
+ webhookConfig.getId().toString()
+ webhookConfig.getId()
+ "-"
+ LPVSPayloadUtil.getPullRequestId(webhookConfig);
} else {
Expand All @@ -210,7 +210,7 @@ public static String getLocalDirectoryPath(LPVSQueue webhookConfig) {
+ File.separator
+ LPVSPayloadUtil.getRepositoryName(webhookConfig)
+ File.separator
+ webhookConfig.getId().toString()
+ webhookConfig.getId()
+ "-"
+ webhookConfig.getHeadCommitSHA();
}
Expand Down

0 comments on commit 460f04c

Please sign in to comment.