Skip to content

Commit

Permalink
fix: fixed the mapping between key and certificate inputs to their co…
Browse files Browse the repository at this point in the history
…rrect cli flags
  • Loading branch information
kriscoleman authored Oct 15, 2024
1 parent bdef8c0 commit aa586ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ async function run() {

if (mavenPOM) cmd.push(`--attestor-maven-pom-path=${mavenPOM}`);

if (certificate) cmd.push(`--certificate=${certificate}`);
if (certificate) cmd.push(`--signer-file-cert-path=${certificate}`);
if (enableArchivista) cmd.push(`--enable-archivista=${enableArchivista}`);
if (archivistaServer) cmd.push(`--archivista-server=${archivistaServer}`);
if (fulcio) cmd.push(`--signer-fulcio-url=${fulcio}`);
Expand All @@ -136,7 +136,7 @@ async function run() {
});
}

if (key) cmd.push(`--key=${key}`);
if (key) cmd.push(`--signer-file-key-path=${key}`);
if (productExcludeGlob) cmd.push(`--attestor-product-exclude-glob=${productExcludeGlob}`);
if (productIncludeGlob) cmd.push(`--attestor-product-include-glob=${productIncludeGlob}`);
if (spiffeSocket) cmd.push(`--spiffe-socket=${spiffeSocket}`);
Expand Down

0 comments on commit aa586ac

Please sign in to comment.