-
-
Notifications
You must be signed in to change notification settings - Fork 46
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
Analysis updates #2642
Analysis updates #2642
Conversation
} catch { | ||
throw error | ||
guard try await Current.git.hasBranch(defaultBranch, cacheDir) else { | ||
throw AppError.analysisError(package.model.id, "Default branch '\(defaultBranch)' does not exist in checkout") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a check to handle this particular error. We may want to do an audit where we throw anything that isn't an AppError
without an id
- or simply ensure we wrap them all before we run updatePackages
.
Ad hoc deploying to dev to confirm that it moves the package forward |
This cleared the stuck package on dev, merging and deploying. |
Fixes #2639