test: normalize wrapper script path for bash on Windows

This commit is contained in:
fatkobra
2026-04-19 10:34:11 +02:00
committed by GitHub
parent 1dc55a791d
commit 0b316d4053
+1 -1
View File
@@ -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,