-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: auto-update powershell script requires reset of PSModulePath
#8047
Conversation
|
✅ Deploy Preview for car-park-attendant-cleat-11576 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
@@ -57,7 +61,10 @@ | |||
upgradePath, | |||
] | |||
} | |||
this.spawnSyncLog(sudo, [`${wrapper}/bin/bash`, "-c", `'${cmd.join(" ")}'${wrapper}`]) | |||
const { stderr } = this.spawnSyncLog(sudo, [`${wrapper}/bin/bash`, "-c", `'${cmd.join(" ")}'${wrapper}`]) |
Check warning
Code scanning / CodeQL
Unsafe shell command constructed from library input
Closing in favor of #8051 |
Fixes: #7127
Also implements additional unit tests, signature verification, and error handling for linux auto-update.
Adds new event to auto-update flow
"before-quit-for-update"