Skip to content

Commit

Permalink
use PathBuf instead of String
Browse files Browse the repository at this point in the history
  • Loading branch information
kek kek kek committed Jul 14, 2023
1 parent b56e21d commit 7b20ab2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/nargo/src/manifest/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use serde::Deserialize;
use std::collections::BTreeMap;
use std::{collections::BTreeMap, path::PathBuf};

mod errors;
pub use self::errors::InvalidPackageError;
Expand Down Expand Up @@ -56,9 +56,9 @@ pub struct Workspace {
#[serde(rename_all = "kebab-case")]
pub struct WorkspaceConfig {
/// List of members in this workspace.
pub members: Vec<String>,
pub members: Vec<PathBuf>,
/// Specifies the default crate to interact with in the context (similarly to how we have nargo as the default crate in this repository).
pub default_member: Option<String>,
pub default_member: Option<PathBuf>,
}

#[allow(dead_code)]
Expand Down

0 comments on commit 7b20ab2

Please sign in to comment.