mirror of
https://github.com/nushell/nushell.git
synced 2024-12-23 23:49:44 +01:00
Removing the defs inside of blocks for now (#2798)
This commit is contained in:
parent
0b5ab1ef22
commit
57a2d695e2
@ -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 New Issue
Block a user