Skip to content

Commit

Permalink
refactor(sqlx-macros): Ignore deps when getting metadata for workspac…
Browse files Browse the repository at this point in the history
…e root (launchbadge#1823)
  • Loading branch information
CosmicHorrorDev committed Apr 21, 2022
1 parent ec15f6b commit 826e63f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqlx-macros/src/query/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ impl Metadata {
let cargo = env("CARGO").expect("`CARGO` must be set");

let output = Command::new(&cargo)
.args(&["metadata", "--format-version=1"])
.args(&["metadata", "--format-version=1", "--no-deps"])
.current_dir(&self.manifest_dir)
.env_remove("__CARGO_FIX_PLZ")
.output()
Expand Down

0 comments on commit 826e63f

Please sign in to comment.