Skip to content

Commit

Permalink
feat: add prefix to project info json output (#859)
Browse files Browse the repository at this point in the history
Adds the prefix folder to the output of `pixi info --json`.
  • Loading branch information
baszalmstra authored Feb 26, 2024
1 parent d460e2d commit 4b1736d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cli/info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ pub struct EnvironmentInfo {
platforms: Vec<Platform>,
tasks: Vec<TaskName>,
channels: Vec<String>,
// prefix: Option<PathBuf>, add when PR 674 is merged
prefix: PathBuf,
}

impl Display for EnvironmentInfo {
Expand Down Expand Up @@ -323,7 +323,7 @@ pub async fn execute(args: Args) -> miette::Result<()> {
.into_iter()
.filter_map(|c| c.name.clone())
.collect(),
// prefix: env.dir(),
prefix: env.dir(),
tasks,
}
})
Expand Down

0 comments on commit 4b1736d

Please sign in to comment.