Skip to content

Commit 4e7a983

Browse files
authored
fix(cli): reflect exit code correctly when running unbundle command (#617)
1 parent 8658638 commit 4e7a983

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cli/src/main.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -363,9 +363,10 @@ fn main() -> Result<ExitCode, anyhow::Error> {
363363
"Eszip extracted successfully inside path {}",
364364
output_path.to_str().unwrap()
365365
);
366+
ExitCode::SUCCESS
367+
} else {
368+
ExitCode::FAILURE
366369
}
367-
368-
ExitCode::SUCCESS
369370
}
370371

371372
_ => {

0 commit comments

Comments
 (0)