You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on using Swift in some pre-commit scripts. For some reason when I attempted to run various versions of "swift package update" as a script for git pre-commit I would get a failure.
// swift script in ./.git/hooks/pre-commit
shellOut(to:"swift package update")
I'm working on using Swift in some pre-commit scripts. For some reason when I attempted to run various versions of "swift package update" as a script for git pre-commit I would get a failure.
produces the following error:
Appears to correct itself if I add Environment variables to the script that changes the PATH variable.
thoughts on a pull request? or am I overthinking the situation and should use shellOut as is with additional arguments?
The text was updated successfully, but these errors were encountered: