Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mwu-tow committed Jun 7, 2022
1 parent 2380967 commit 5c274f0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cli/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,15 +100,15 @@ impl Processor {
/// Setup common build environment information based on command line input and local
/// environment.
pub async fn new(cli: &Cli) -> Result<Self> {
let build_kind = match &cli.target {
Target::Release(release) => release.kind,
_ => enso_build::version::BuildKind::Dev,
};
// let build_kind = match &cli.target {
// Target::Release(release) => release.kind,
// _ => enso_build::version::BuildKind::Dev,
// };
let absolute_repo_path = cli.repo_path.absolutize()?;
let octocrab = setup_octocrab().await?;
let versions = enso_build::version::deduce_versions(
&octocrab,
build_kind,
cli.build_kind,
Ok(&cli.repo_remote),
&absolute_repo_path,
)
Expand Down

0 comments on commit 5c274f0

Please sign in to comment.