Skip to content

Commit 55a7567

Browse files
committed
text fix
1 parent 0561af3 commit 55a7567

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/aws-cdk/lib/commands/flag-operations.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ export async function handleFlags(flagData: FeatureFlag[], ioHelper: IoHelper, o
128128
}
129129

130130
if (options.unconfigured && options.FLAGNAME) {
131-
await ioHelper.defaults.error('Error: Cannot use --unconfigured with a specific flag name. --unconfigured works with all flags.');
131+
await ioHelper.defaults.error('Error: Cannot use --unconfigured with a specific flag name. --unconfigured works with multiple flags.');
132132
return;
133133
}
134134

packages/aws-cdk/test/commands/flag-operations.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ describe('handleFlags', () => {
649649
await handleFlags(mockFlagsData, ioHelper, options, mockToolkit);
650650

651651
const plainTextOutput = output();
652-
expect(plainTextOutput).toContain('Error: Cannot use --unconfigured with a specific flag name. --unconfigured works with all flags.');
652+
expect(plainTextOutput).toContain('Error: Cannot use --unconfigured with a specific flag name. --unconfigured works with multiple flags.');
653653
});
654654

655655
test('shows error when setting a flag without providing a value', async () => {

0 commit comments

Comments
 (0)