mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 09:15:42 +02:00
Fix capturing environment variables with " or ' (#537)
* Fix path expand error span * Fix capturing env vars containing ' or "; Rustfmt
This commit is contained in:
@ -251,7 +251,7 @@ pub enum ShellError {
|
||||
SpannedLabeledErrorHelp(String, String, #[label("{1}")] Span, String),
|
||||
|
||||
#[error("{0}")]
|
||||
#[diagnostic()]
|
||||
#[diagnostic(help("{1}"))]
|
||||
LabeledError(String, String),
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user