mirror of
https://github.com/nushell/nushell.git
synced 2025-06-30 06:30:08 +02:00
Fix string interpolation is not working with external command (#3686)
This commit is contained in:
@ -730,7 +730,9 @@ fn parse_external_arg(
|
||||
lite_arg: &Spanned<String>,
|
||||
scope: &dyn ParserScope,
|
||||
) -> (SpannedExpression, Option<ParseError>) {
|
||||
if lite_arg.item.starts_with('$') || lite_arg.item.starts_with('(') {
|
||||
if lite_arg.item.starts_with('$') {
|
||||
parse_dollar_expr(lite_arg, scope)
|
||||
} else if lite_arg.item.starts_with('(') {
|
||||
parse_full_column_path(lite_arg, scope)
|
||||
} else {
|
||||
(
|
||||
|
Reference in New Issue
Block a user