Skip to content

Commit

Permalink
Review corrections implemented
Browse files Browse the repository at this point in the history
  • Loading branch information
ndkazu committed Dec 24, 2024
1 parent 961a43b commit 701a125
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/pop-cli/src/commands/call/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ impl CallContractCommand {
let spinner = spinner();
spinner.start("Building contract in RELEASE mode...");
let result = match build_smart_contract(
project_path.as_deref().map(|v| v),
project_path.as_deref(),
true,
Verbosity::Quiet,
) {
Expand Down
2 changes: 1 addition & 1 deletion crates/pop-cli/src/commands/up/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ impl UpContractCommand {

let project_path = get_project_path(self.path.clone(), self.path_pos.clone());
// Check if build exists in the specified "Contract build directory"
if !has_contract_been_built(project_path.as_deref().map(|v| v)) {
if !has_contract_been_built(project_path.as_deref()) {
// Build the contract in release mode
Cli.warning("NOTE: contract has not yet been built.")?;
let spinner = spinner();
Expand Down

0 comments on commit 701a125

Please sign in to comment.