diff --git a/dist/index.js b/dist/index.js index d6f65cc..15d5b57 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1864,7 +1864,7 @@ function run() { core.info(`Found apps: ${apps.map(a => a.metadata.name).join(', ')}`); const diffs = []; yield asyncForEach(apps, (app) => __awaiter(this, void 0, void 0, function* () { - const command = `app diff ${app.metadata.name} --local=${process.cwd()} --server-side-generate`; + const command = `app diff ${app.metadata.name} --server-side-generate`; try { core.info(`Running: argocd ${command}`); // ArgoCD app diff will exit 1 if there is a diff, so always catch, diff --git a/src/main.ts b/src/main.ts index f9a40f0..4452ae0 100644 --- a/src/main.ts +++ b/src/main.ts @@ -232,7 +232,7 @@ async function run(): Promise { const diffs: Diff[] = []; await asyncForEach(apps, async app => { - const command = `app diff ${app.metadata.name} --local=${process.cwd()} --server-side-generate`; + const command = `app diff ${app.metadata.name} --server-side-generate`; try { core.info(`Running: argocd ${command}`); // ArgoCD app diff will exit 1 if there is a diff, so always catch,