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
fix(mod,deploy): reject private repos with a clear error (#119)
* fix(mod,deploy): reject private repos with a clear error message
- dot deploy --modable now calls assertPublicGitHubRepo during preflight
and throws ModablePreflightError for private or missing GitHub repos,
preventing the obscure downstream failure
- resolveDefaultBranch in dot mod detects 401/404 API responses and
surfaces 'private or does not exist' instead of the misleading
'pin one in metadata.branch' hint
- Covers both paths with unit tests
* chore: fix biome formatting
`dot deploy --modable` now rejects private GitHub repositories at preflight with a clear error message instead of silently failing later. `dot mod` also surfaces a more actionable error when it encounters a private or non-existent repository instead of the misleading "pin one in metadata.branch" hint.
0 commit comments