Skip to content

Commit

Permalink
SKARA-2295
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaosongzs committed Jun 13, 2024
1 parent c93a0d0 commit 79118fb
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -280,19 +280,19 @@ public void visit(IssuesIssue issue) {

@Override
public void visit(ExecutableIssue issue) {
addMessage(issue.check(), String.format("Executable files are not allowed (file: %s)", issue.path()), issue.severity());
addMessage(issue.check(), String.format("Patch contains executable files (file: %s)", issue.path()), issue.severity());
setNotReadyForReviewOnError(issue.severity());
}

@Override
public void visit(SymlinkIssue issue) {
addMessage(issue.check(), String.format("Symbolic links are not allowed (file: %s)", issue.path()), issue.severity());
addMessage(issue.check(), String.format("Patch contains symbolic links (file: %s)", issue.path()), issue.severity());
setNotReadyForReviewOnError(issue.severity());
}

@Override
public void visit(BinaryIssue issue) {
addMessage(issue.check(), String.format("Binary files are not allowed (file: %s)", issue.path()), issue.severity());
addMessage(issue.check(), String.format("Patch contains binary files (file: %s)", issue.path()), issue.severity());
setNotReadyForReviewOnError(issue.severity());
}

Expand Down

0 comments on commit 79118fb

Please sign in to comment.