mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-12-29 04:04:56 +00:00
refactor(sqlx-macros): Ignore deps when getting metadata for workspace root (#1823)
This commit is contained in:
parent
ec15f6b30c
commit
826e63fc11
@ -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()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user