Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cmd/ckb/use.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ func runUse(cmd *cobra.Command, args []string) error {
switch state {
case repos.RepoStateMissing:
fmt.Fprintf(os.Stderr, "Warning: repository path no longer exists: %s\n", entry.Path)
fmt.Fprintf(os.Stderr, "Consider running: ckb repo remove %s\n\n", name)
case repos.RepoStateUninitialized:
// Log the error but continue - this is non-critical for repo switching
fmt.Fprintf(os.Stderr, "Warning: failed to update last used time: %v\n", err)
fmt.Fprintf(os.Stderr, "Warning: repository not initialized\n")
fmt.Fprintf(os.Stderr, "Run: cd %s && ckb init\n\n", entry.Path)
}
Expand Down
Loading