Skip to content

Commit

Permalink
fix windows ci
Browse files Browse the repository at this point in the history
Signed-off-by: borngraced <[email protected]>
  • Loading branch information
borngraced committed Dec 5, 2023
1 parent 859808c commit 71cbad1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion mm2src/komodefi_cli/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ use crate::komodefi_proc::SmartFractPrecision;
use crate::logging::{error_anyhow, warn_bail};

use anyhow::{anyhow, bail, Result};
use common::log::{debug, error, info, warn};
#[cfg(unix)] use common::log::debug;
use common::log::{error, info, warn};
use inquire::Password;
use serde::{Deserialize, Serialize};
use std::fmt::{Display, Formatter};
Expand Down
2 changes: 1 addition & 1 deletion mm2src/komodefi_cli/src/scenarios/download_helper.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use zip::ZipArchive;

const BINARY_HOST_URL: &str = "https://api.github.com/repos/KomodoPlatform/komodo-defi-framework/releases";

#[cfg(not(target_os = "macos"))]
#[cfg(all(unix, not(target_os = "macos")))]
const DOWNLOAD_NAME: &str = "Linux-Release.";
#[cfg(target_os = "macos")]
const DOWNLOAD_NAME: &str = "Darwin-Release.";
Expand Down

0 comments on commit 71cbad1

Please sign in to comment.