Merge pull request #73599 from tedyu/master

Add ps1 to windows executable extensions
pull/564/head
Kubernetes Prow Robot 2019-02-01 06:32:01 -08:00 committed by GitHub
commit b8b0dbcb7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -235,7 +235,7 @@ func isExecutable(fullPath string) (bool, error) {
fileExt := strings.ToLower(filepath.Ext(fullPath))
switch fileExt {
case ".bat", ".cmd", ".com", ".exe":
case ".bat", ".cmd", ".com", ".exe", ".ps1":
return true, nil
}
return false, nil