Unverified Commit b8b0dbcb authored by Kubernetes Prow Robot's avatar Kubernetes Prow Robot Committed by GitHub

Merge pull request #73599 from tedyu/master

Add ps1 to windows executable extensions
parents a3f74bd5 9e227af6
...@@ -235,7 +235,7 @@ func isExecutable(fullPath string) (bool, error) { ...@@ -235,7 +235,7 @@ func isExecutable(fullPath string) (bool, error) {
fileExt := strings.ToLower(filepath.Ext(fullPath)) fileExt := strings.ToLower(filepath.Ext(fullPath))
switch fileExt { switch fileExt {
case ".bat", ".cmd", ".com", ".exe": case ".bat", ".cmd", ".com", ".exe", ".ps1":
return true, nil return true, nil
} }
return false, nil return false, nil
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment