mirror of
https://github.com/nushell/nushell
synced 2024-11-10 07:04:13 +00:00
Co-authored-by: hk <alexhaka10@protonmail.com>
This commit is contained in:
parent
0d305d7c3e
commit
86a89404be
1 changed files with 1 additions and 1 deletions
|
@ -388,7 +388,7 @@ fn parse_invocation(
|
|||
.item
|
||||
.chars()
|
||||
.skip(2)
|
||||
.take(lite_arg.item.len() - 3)
|
||||
.take(lite_arg.item.chars().count() - 3)
|
||||
.collect();
|
||||
|
||||
// We haven't done much with the inner string, so let's go ahead and work with it
|
||||
|
|
Loading…
Reference in a new issue