Skip to content

Commit

Permalink
Specify directory for git diff (#168)
Browse files Browse the repository at this point in the history
  • Loading branch information
cicdguy authored Nov 15, 2023
1 parent fb2de08 commit 9a495f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ jobs:
))
cat("────────────────────────────────────────\n")
cat("⚠️ Here is the complete git diff for the files that changed:\n")
system("git diff")
system(paste0("git diff ", paste(unlist(problems), collapse=' ')))
cat("────────────────────────────────────────\n")
cat(paste("ℹ️ Version of styler used in this workflow:", packageVersion("styler")))
quit(status = length(problems))
Expand Down

0 comments on commit 9a495f2

Please sign in to comment.