test: normalize wrapper script path for bash on Windows
This commit is contained in:
@@ -60,7 +60,7 @@ def _run_hook(
|
|||||||
env["PATH"] = str(bin_dir)
|
env["PATH"] = str(bin_dir)
|
||||||
|
|
||||||
return subprocess.run(
|
return subprocess.run(
|
||||||
[BASH, str(PLUGIN_HOOKS_DIR / script_name)],
|
[BASH, _shell_path(PLUGIN_HOOKS_DIR / script_name)],
|
||||||
input=payload,
|
input=payload,
|
||||||
text=True,
|
text=True,
|
||||||
capture_output=True,
|
capture_output=True,
|
||||||
|
|||||||
Reference in New Issue
Block a user