forked from extern/nushell
commands are either custom or builtin, not both (#4876)
* commands are either custom or builtin, not both * clippy
This commit is contained in:
parent
d6669d3f33
commit
01c1e5e8b0
@ -969,8 +969,9 @@ 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_builtin(),
|
||||
val: decl.get_block_id().is_none(),
|
||||
span,
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user