mirror of
https://github.com/nushell/nushell.git
synced 2025-06-30 22:50:14 +02:00
This reverts commit 0646f1118c
.
This commit is contained in:
@ -1101,7 +1101,7 @@ pub fn create_scope(
|
||||
cols.push("is_builtin".to_string());
|
||||
// we can only be a is_builtin or is_custom, not both
|
||||
vals.push(Value::Bool {
|
||||
val: !decl.is_custom_command(),
|
||||
val: decl.get_block_id().is_none(),
|
||||
span,
|
||||
});
|
||||
|
||||
@ -1119,7 +1119,7 @@ pub fn create_scope(
|
||||
|
||||
cols.push("is_custom".to_string());
|
||||
vals.push(Value::Bool {
|
||||
val: decl.is_custom_command(),
|
||||
val: decl.get_block_id().is_some(),
|
||||
span,
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user