mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-25 17:01:15 +01:00
Return error exit code if validation fails
This commit is contained in:
1 parent
3accf4dc15
commit
b6996dbd32
1 file changed
+3
-1
+3
-1
@@ -188,8 +188,10 @@ fn main() {
|
||||
None => {
|
||||
if info.is_some() {
|
||||
println!("Validation successful");
|
||||
return;
|
||||
} else {
|
||||
std::process::exit(!0);
|
||||
}
|
||||
return;
|
||||
}
|
||||
};
|
||||
if output_path == "-" {
|
||||
|
||||
Reference in new issue
Block a user