Use /usr/bin/env bash instead of /bin/bash in gh extension create

This commit is contained in:
Kid 2021-08-26 00:49:33 +08:00 committed by GitHub
parent 355d28195e
commit b56f77b2e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -268,7 +268,7 @@ func (m *Manager) Create(name string) error {
}
fileTmpl := heredoc.Docf(`
#!/bin/bash
#!/usr/bin/env bash
set -e
echo "Hello %[1]s!"