fix r local hooks

`language: r` acts more like `language: script` so we have to *not* append
the prefix when run with `repo: local`
This commit is contained in:
Anthony Sottile
2023-01-29 17:27:42 -05:00
parent 6eacdd440e
commit 420902f67c
12 changed files with 51 additions and 6 deletions

View File

@@ -195,6 +195,7 @@ def _run_single_hook(
hook.entry,
hook.args,
filenames,
is_local=hook.src == 'local',
require_serial=hook.require_serial,
color=use_color,
)