Skip to content

Commit

Permalink
fix(core): sync command example typo (#227)
Browse files Browse the repository at this point in the history
  • Loading branch information
bzp2010 authored Jan 24, 2025
1 parent acd97b7 commit f5b06e3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion apps/cli/src/command/diff.command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,6 @@ export const DiffCommand = new BackendCommand<DiffOptions>(
try {
await tasks.run();
} catch (err) {
//console.log(chalk.red(`Failed to diff resources, ${err}`));
process.exit(1);
}
});
2 changes: 1 addition & 1 deletion apps/cli/src/command/sync.command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const SyncCommand = new BackendCommand<SyncOption>(
},
{
title: 'Synchronize configuration in multiple files by glob expression',
command: 'adc diff -f "**/*.yaml" -f common.yaml',
command: 'adc sync -f "**/*.yaml" -f common.yaml',
},
{
title: 'Synchronize configuration to a specific gateway group',
Expand Down

0 comments on commit f5b06e3

Please sign in to comment.