Add updating cell paths

This commit is contained in:
JT
2021-11-05 16:59:12 +13:00
parent 8c43f60e2e
commit 183d200b9f
6 changed files with 134 additions and 41 deletions

View File

@ -111,6 +111,13 @@ pub enum ShellError {
#[label = "value originates here"] Span,
),
#[error("Not a list value")]
#[diagnostic(code(nu::shell::not_a_list), url(docsrs))]
NotAList(
#[label = "value not a list"] Span,
#[label = "value originates here"] Span,
),
#[error("External command")]
#[diagnostic(code(nu::shell::external_command), url(docsrs))]
ExternalCommand(String, #[label("{0}")] Span),