Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

Commit c222008

Browse files
fix: add --local-repo-root option (with thanks to #53)
1 parent 4e14c98 commit c222008

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ _Updated at ${new Date().toLocaleString('en-US', { timeZone: 'America/Los_Angele
282282
const diffs: Diff[] = [];
283283

284284
await asyncForEach(apps, async app => {
285-
const command = `app diff ${app.metadata.name} --local=${app.spec.source.path}`;
285+
const command = `app diff ${app.metadata.name} --local-repo-root=${process.cwd()} --local=${app.spec.source.path}`;
286286
try {
287287
core.info(`Running: argocd ${command}`);
288288
// ArgoCD app diff will exit 1 if there is a diff, so always catch,

0 commit comments

Comments
 (0)