Skip to content

Commit

Permalink
fix lefthook run cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
bibendi committed Oct 19, 2022
1 parent 9a403d3 commit da22bf8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lefthook-local.dip_example.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pre-commit:
commands:
rubocop:
runner: dip {cmd}
run: dip {cmd}
2 changes: 1 addition & 1 deletion lefthook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ pre-commit:
rubocop:
tags: backend
glob: "**/*.rb"
runner: bundle exec standardrb --fix {staged_files} && git add {staged_files}
run: bundle exec standardrb --fix {staged_files} && git add {staged_files}

0 comments on commit da22bf8

Please sign in to comment.