mirror of
https://github.com/nushell/nushell
synced 2024-12-26 13:03:07 +00:00
Let run_in_login_mode
succeed even with broken local config (#10622)
I wondered why this test failed for me. Turns out my config file is not compatible with current main, but the error message was useless. I've added `--no-config-file`
This commit is contained in:
parent
69a17fb247
commit
8a77d1ed92
1 changed files with 1 additions and 1 deletions
|
@ -234,7 +234,7 @@ fn run_in_login_mode() {
|
|||
let child_output = std::process::Command::new("sh")
|
||||
.arg("-c")
|
||||
.arg(format!(
|
||||
"{:?} -l -c 'echo $nu.is-login'",
|
||||
"{:?} --no-config-file --login --commands 'echo $nu.is-login'",
|
||||
nu_test_support::fs::executable_path()
|
||||
))
|
||||
.output()
|
||||
|
|
Loading…
Reference in a new issue