mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 17:25:15 +02:00
Add an alias denylist for expansions (#4871)
This commit is contained in:
@ -19,7 +19,7 @@ fn quickcheck_parse(data: String) -> bool {
|
||||
let mut working_set = StateWorkingSet::new(&context);
|
||||
working_set.add_file("quickcheck".into(), data.as_bytes());
|
||||
|
||||
let _ = nu_parser::parse_block(&mut working_set, &lite_block, false);
|
||||
let _ = nu_parser::parse_block(&mut working_set, &lite_block, false, &[]);
|
||||
}
|
||||
}
|
||||
true
|
||||
|
Reference in New Issue
Block a user