mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 04:15:08 +02:00
Make config default if broken (#482)
* Make config default if broken * Make config default if broken
This commit is contained in:
@ -30,7 +30,7 @@ impl Command for Debug {
|
||||
input: PipelineData,
|
||||
) -> Result<PipelineData, ShellError> {
|
||||
let head = call.head;
|
||||
let config = stack.get_config()?;
|
||||
let config = stack.get_config().unwrap_or_default();
|
||||
let raw = call.has_flag("raw");
|
||||
|
||||
input.map(
|
||||
|
Reference in New Issue
Block a user