Skip to content
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

Better error message for "names" command when a hash exists but has no names. #2763

Open
ChrisPenner opened this issue Dec 15, 2021 · 1 comment
Labels
codebase-manager Issues related to the codebase editor CLI application (ucm) good first issue A good first issue for new contributors

Comments

@ChrisPenner
Copy link
Contributor

ChrisPenner commented Dec 15, 2021

.> names #7pjlvdu42gmfvfntja265dmi08afk08l54kpsuu55l9hq4l32fco2jlrm8mf2jbn61esfsi972b6e66d9on4

  😶

  I couldn't find anything by that name.

.> view #7pjlvdu42gmfvfntja265dm

  #7pjlvdu42g : '{g} t -> Doc
  #7pjlvdu42g a = Special (EvalInline (term a))

I'd expect it to say something like:

I found that hash in your codebase, but it doesn't have any names.
Try `view #7pjlvdu42gmfvfntja265dmi08afk08l54kpsuu55l9hq4l32fco2jlrm8mf2jbn61esfsi972b6e66d9on4` to see its definition.
@ChrisPenner ChrisPenner added good first issue A good first issue for new contributors codebase-manager Issues related to the codebase editor CLI application (ucm) labels Dec 15, 2021
@aryairani
Copy link
Contributor

aryairani commented Dec 19, 2021

More generally #1384

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
codebase-manager Issues related to the codebase editor CLI application (ucm) good first issue A good first issue for new contributors
Projects
None yet
Development

No branches or pull requests

2 participants