Fix pre-commit hook issue on Windows (#31648)

* Make shebang compatable with Windows

* Prehook test

* Undo prehook test
This commit is contained in:
Tom Harris 2020-02-18 16:33:52 -05:00 committed by GitHub
parent 4ed7a7f2e0
commit f6540e3002
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
#!/bin/sh -eu
#!/usr/bin/env sh -eu
# Activate pyenv and virtualenv if present, then run the specified command