From f6540e30023e9f1abe7f018bc93ac4b4e2954db9 Mon Sep 17 00:00:00 2001 From: Tom Harris Date: Tue, 18 Feb 2020 16:33:52 -0500 Subject: [PATCH] Fix pre-commit hook issue on Windows (#31648) * Make shebang compatable with Windows * Prehook test * Undo prehook test --- script/run-in-env.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/run-in-env.sh b/script/run-in-env.sh index 586f59d717a..d9fe17f4b17 100755 --- a/script/run-in-env.sh +++ b/script/run-in-env.sh @@ -1,4 +1,4 @@ -#!/bin/sh -eu +#!/usr/bin/env sh -eu # Activate pyenv and virtualenv if present, then run the specified command