From cb314b48e0557a268724a15c435d32c5a41d76b1 Mon Sep 17 00:00:00 2001 From: Roberto De Ioris Date: Mon, 6 Jan 2025 09:08:31 +0100 Subject: [PATCH] fixed use of cargo_workspace in non-test environment --- stackslib/src/clarity_cli.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/stackslib/src/clarity_cli.rs b/stackslib/src/clarity_cli.rs index d07399a027..f67ab22eaa 100644 --- a/stackslib/src/clarity_cli.rs +++ b/stackslib/src/clarity_cli.rs @@ -35,7 +35,7 @@ use stacks_common::types::chainstate::{ }; use stacks_common::types::sqlite::NO_PARAMS; use stacks_common::util::hash::{bytes_to_hex, Hash160, Sha512Trunc256Sum}; -use stacks_common::util::{cargo_workspace, get_epoch_time_ms, log}; +use stacks_common::util::{get_epoch_time_ms, log}; use crate::burnchains::{Address, PoxConstants, Txid}; use crate::chainstate::stacks::boot::{ @@ -1950,6 +1950,8 @@ pub fn invoke_command(invoked_by: &str, args: &[String]) -> (i32, Option