feat: updates
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
use base64::engine::general_purpose::STANDARD;
|
|
||||||
use base64::Engine;
|
use base64::Engine;
|
||||||
use rust_util::{debugging, opt_result, simple_error, XResult};
|
use base64::engine::general_purpose::STANDARD;
|
||||||
|
use rust_util::{XResult, debugging, opt_result, simple_error};
|
||||||
use std::process::{Command, Output};
|
use std::process::{Command, Output};
|
||||||
|
|
||||||
const SWIFT_SECURE_ENCLAVE_TOOL_CMD: &str = "swift-secure-enclave-tool";
|
const SWIFT_SECURE_ENCLAVE_TOOL_CMD: &str = "swift-secure-enclave-tool";
|
||||||
@@ -106,6 +106,7 @@ fn run_command(mut cmd: Command) -> XResult<Output> {
|
|||||||
match output {
|
match output {
|
||||||
Err(e) => simple_error!("Run command failed: {:?}", e),
|
Err(e) => simple_error!("Run command failed: {:?}", e),
|
||||||
Ok(output) => {
|
Ok(output) => {
|
||||||
|
debugging!("Output: {:?}", output);
|
||||||
if !output.status.success() {
|
if !output.status.success() {
|
||||||
simple_error!("Run command not success: {:?}", output.status.code())
|
simple_error!("Run command not success: {:?}", output.status.code())
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user