mirror of
https://github.com/danbulant/nushell
synced 2026-05-21 13:28:51 +00:00
Removing the defs inside of blocks for now (#2798)
This commit is contained in:
parent
0b5ab1ef22
commit
57a2d695e2
1 changed files with 4 additions and 4 deletions
|
|
@ -2245,10 +2245,10 @@ pub fn classify_block(
|
|||
}
|
||||
}
|
||||
|
||||
for def in scope.get_definitions() {
|
||||
let name = def.params.name.clone();
|
||||
output.definitions.insert(name, def.clone());
|
||||
}
|
||||
// for def in scope.get_definitions() {
|
||||
// let name = def.params.name.clone();
|
||||
// output.definitions.insert(name, def.clone());
|
||||
// }
|
||||
|
||||
(output, error)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue