diff --git a/dist/build-crates-debian-main.js b/dist/build-crates-debian-main.js index fb5197d..1f8439a 100644 --- a/dist/build-crates-debian-main.js +++ b/dist/build-crates-debian-main.js @@ -128206,7 +128206,7 @@ const gitEnv = { * @returns The list of Cargo packages present in the workspace or crate. */ function cargo_packages(path) { - const metadataContents = command_sh("cargo metadata --no-deps --format-version '1'", { cwd: path }); + const metadataContents = command_sh("cargo metadata --no-deps --format-version=1", { cwd: path }); const metadata = JSON.parse(metadataContents); const result = []; for (const elem of metadata.packages) { diff --git a/dist/build-crates-standalone-main.js b/dist/build-crates-standalone-main.js index e897769..571634f 100644 --- a/dist/build-crates-standalone-main.js +++ b/dist/build-crates-standalone-main.js @@ -128205,7 +128205,7 @@ const gitEnv = { * @returns The list of Cargo packages present in the workspace or crate. */ function cargo_packages(path) { - const metadataContents = sh("cargo metadata --no-deps --format-version '1'", { cwd: path }); + const metadataContents = sh("cargo metadata --no-deps --format-version=1", { cwd: path }); const metadata = JSON.parse(metadataContents); const result = []; for (const elem of metadata.packages) { diff --git a/dist/bump-crates-main.js b/dist/bump-crates-main.js index 36da28e..9be774e 100644 --- a/dist/bump-crates-main.js +++ b/dist/bump-crates-main.js @@ -82064,7 +82064,7 @@ const gitEnv = { * @returns The list of Cargo packages present in the workspace or crate. */ function cargo_packages(path) { - const metadataContents = command_sh("cargo metadata --no-deps --format-version '1'", { cwd: path }); + const metadataContents = command_sh("cargo metadata --no-deps --format-version=1", { cwd: path }); const metadata = JSON.parse(metadataContents); const result = []; for (const elem of metadata.packages) { diff --git a/dist/publish-crates-cargo-main.js b/dist/publish-crates-cargo-main.js index 5f3a16b..d4f2873 100644 --- a/dist/publish-crates-cargo-main.js +++ b/dist/publish-crates-cargo-main.js @@ -82064,7 +82064,7 @@ const gitEnv = { * @returns The list of Cargo packages present in the workspace or crate. */ function cargo_packages(path) { - const metadataContents = command_sh("cargo metadata --no-deps --format-version '1'", { cwd: path }); + const metadataContents = command_sh("cargo metadata --no-deps --format-version=1", { cwd: path }); const metadata = JSON.parse(metadataContents); const result = []; for (const elem of metadata.packages) { diff --git a/dist/publish-crates-debian-main.js b/dist/publish-crates-debian-main.js index 401eb60..f2875ec 100644 --- a/dist/publish-crates-debian-main.js +++ b/dist/publish-crates-debian-main.js @@ -128228,7 +128228,7 @@ const gitEnv = { * @returns The list of Cargo packages present in the workspace or crate. */ function cargo_packages(path) { - const metadataContents = sh("cargo metadata --no-deps --format-version '1'", { cwd: path }); + const metadataContents = sh("cargo metadata --no-deps --format-version=1", { cwd: path }); const metadata = JSON.parse(metadataContents); const result = []; for (const elem of metadata.packages) { diff --git a/dist/publish-crates-eclipse-main.js b/dist/publish-crates-eclipse-main.js index d8ea97f..a474fef 100644 --- a/dist/publish-crates-eclipse-main.js +++ b/dist/publish-crates-eclipse-main.js @@ -128225,7 +128225,7 @@ const gitEnv = { * @returns The list of Cargo packages present in the workspace or crate. */ function cargo_packages(path) { - const metadataContents = sh("cargo metadata --no-deps --format-version '1'", { cwd: path }); + const metadataContents = sh("cargo metadata --no-deps --format-version=1", { cwd: path }); const metadata = JSON.parse(metadataContents); const result = []; for (const elem of metadata.packages) { diff --git a/dist/publish-crates-github-main.js b/dist/publish-crates-github-main.js index d7fee1a..07e73aa 100644 --- a/dist/publish-crates-github-main.js +++ b/dist/publish-crates-github-main.js @@ -128206,7 +128206,7 @@ const gitEnv = { * @returns The list of Cargo packages present in the workspace or crate. */ function cargo_packages(path) { - const metadataContents = sh("cargo metadata --no-deps --format-version '1'", { cwd: path }); + const metadataContents = sh("cargo metadata --no-deps --format-version=1", { cwd: path }); const metadata = JSON.parse(metadataContents); const result = []; for (const elem of metadata.packages) { diff --git a/dist/publish-crates-homebrew-main.js b/dist/publish-crates-homebrew-main.js index 8d1d4df..d1cf4fd 100644 --- a/dist/publish-crates-homebrew-main.js +++ b/dist/publish-crates-homebrew-main.js @@ -128227,7 +128227,7 @@ const gitEnv = { * @returns The list of Cargo packages present in the workspace or crate. */ function cargo_packages(path) { - const metadataContents = sh("cargo metadata --no-deps --format-version '1'", { cwd: path }); + const metadataContents = sh("cargo metadata --no-deps --format-version=1", { cwd: path }); const metadata = JSON.parse(metadataContents); const result = []; for (const elem of metadata.packages) { diff --git a/src/cargo.ts b/src/cargo.ts index 01958d0..7f042c3 100644 --- a/src/cargo.ts +++ b/src/cargo.ts @@ -49,7 +49,7 @@ type CargoMetadata = { * @returns The list of Cargo packages present in the workspace or crate. */ export function packages(path: string): Package[] { - const metadataContents = sh("cargo metadata --no-deps --format-version '1'", { cwd: path }); + const metadataContents = sh("cargo metadata --no-deps --format-version=1", { cwd: path }); const metadata = JSON.parse(metadataContents) as CargoMetadata; const result = [] as Package[];