2
0
Fork 0
mirror of https://github.com/nushell/nushell synced 2025-02-13 12:43:48 +00:00
nushell/tests/shell
Wind eaedb30a8c
Don't expanding globs if user pass variables. ()
# Description
Fixes: 

# User-Facing Changes
After this change: 
```
let x = '*.nu'; ^echo $x
```
will no longer expand glob.
If users still want to expand glob, there are also 3 ways to do this:
```
# 1. use spread operation with `glob` command
let x = '*.nu'; ^echo ...(glob $x)
```
# Tests + Formatting
Done

# After Submitting
NaN
2024-02-28 23:05:09 +08:00
..
environment test: clear parent envs to prevent leakage to tests () 2023-08-14 12:49:55 +02:00
pipeline Don't expanding globs if user pass variables. () 2024-02-28 23:05:09 +08:00
mod.rs Fix a panic when parsing empty file () 2024-02-07 18:47:44 -06:00