Skip to content

Make the user context a hard requirement#462

Merged
timothyF95 merged 2 commits into
mainfrom
DEVSVCS-5083/make-userctx-required
Jun 2, 2026
Merged

Make the user context a hard requirement#462
timothyF95 merged 2 commits into
mainfrom
DEVSVCS-5083/make-userctx-required

Conversation

@timothyF95
Copy link
Copy Markdown
Contributor

@timothyF95 timothyF95 commented Jun 2, 2026

@timothyF95 timothyF95 marked this pull request as ready for review June 2, 2026 11:35
@timothyF95 timothyF95 requested a review from a team as a code owner June 2, 2026 11:35
Comment thread cmd/root.go
}
ui.ErrorWithSuggestions("Failed to load user context", []string{
"Run `cre login` to fetch your user context",
fmt.Sprintf("Ensure ~/.cre/%s exists and is readable", tenantctx.ContextFile),
Copy link
Copy Markdown
Collaborator

@anirudhwarrier anirudhwarrier Jun 2, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider replacing ~ with value returned by os.UserHomeDir()

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@timothyF95 timothyF95 added this pull request to the merge queue Jun 2, 2026
Merged via the queue into main with commit f8a4b9a Jun 2, 2026
26 checks passed
@timothyF95 timothyF95 deleted the DEVSVCS-5083/make-userctx-required branch June 2, 2026 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants