Skip to content

Commit

Permalink
fix manifest error
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-schott committed Dec 18, 2023
1 parent 55665fd commit 308cd15
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion leo/cli/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ use leo_errors::Result;

use clap::Parser;
use colored::Colorize;
use std::{path::PathBuf, process::exit};
use serial_test::serial;

Check warning on line 22 in leo/cli/cli.rs

View workflow job for this annotation

GitHub Actions / Test Package macOS-latest

unused import: `serial_test::serial`

Check warning on line 22 in leo/cli/cli.rs

View workflow job for this annotation

GitHub Actions / Code Coverage

unused import: `serial_test::serial`

Check warning on line 22 in leo/cli/cli.rs

View workflow job for this annotation

GitHub Actions / Test Package ubuntu-latest

unused import: `serial_test::serial`
use std::{path::PathBuf, process::exit};

/// CLI Arguments entry point - includes global parameters and subcommands
#[derive(Parser, Debug)]
Expand Down
6 changes: 3 additions & 3 deletions leo/cli/commands/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,13 @@ impl Command for Build {
let package_path = context.dir()?;
let home_path = context.home()?;

// Open the build directory.
let build_directory = BuildDirectory::open(&package_path)?;

// Get the program id.
let manifest = context.open_manifest()?;
let program_id = manifest.program_id();

// Open the build directory.
let build_directory = BuildDirectory::open(&package_path)?;

// Initialize error handler
let handler = Handler::default();

Expand Down

0 comments on commit 308cd15

Please sign in to comment.