Skip to content

Commit

Permalink
remove --local
Browse files Browse the repository at this point in the history
  • Loading branch information
aaron-weisberg-qz committed Jul 19, 2024
1 parent 1b9a98b commit 3a7d973
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ async function run(): Promise<void> {
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,
Expand Down

0 comments on commit 3a7d973

Please sign in to comment.