Fixes issue with ohmyzsh returning 80 on a successful run (#570)

This commit is contained in:
Seung-Li Maeda
2020-12-01 19:56:12 -08:00
committed by GitHub
parent 4f3bdcad86
commit f9116dd0f3
3 changed files with 34 additions and 2 deletions

View File

@@ -142,5 +142,5 @@ pub fn run_oh_my_zsh(ctx: &ExecutionContext) -> Result<()> {
.execute("zsh")
.env("ZSH", &oh_my_zsh)
.arg(&oh_my_zsh.join("tools/upgrade.sh"))
.check_run()
.check_run_with_codes(&[80])
}