From 9c51af47239cd6d5d8ef453f692b01faa6b11e9c Mon Sep 17 00:00:00 2001 From: Tsiry Sandratraina Date: Mon, 22 Apr 2024 19:07:27 +0000 Subject: [PATCH] update setup function --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index de6f926..fac8cbe 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -12,6 +12,7 @@ pub fn setup(version: String) -> FnResult { let stdout = dag() .pkgx()? .with_exec(vec!["pkgx", "install", &format!("trufflehog@{}", version)])? + .with_exec(vec!["trufflehog", "--version"])? .stdout()?; Ok(stdout)