Skip to content

Commit 7fe5046

Browse files
committed
fix: fix typo in flag combination error
1 parent 9c963e2 commit 7fe5046

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/lib/errors/missing-option-error.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { CustomError } from './custom-error';
33

44
export class MissingOptionError extends CustomError {
55
constructor(option: string, required: string[]) {
6-
const msg = `The ${option} option can only be use in combination with ${required
6+
const msg = `The ${option} option can only be used in combination with ${required
77
.sort()
88
.join(' or ')}.`;
99
super(msg);

test/jest/acceptance/cli-args.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ describe.each(userJourneyWorkflows)(
255255
env,
256256
});
257257
expect(stdout).toContainText(
258-
'The --exclude option can only be use in combination with --all-projects or --yarn-workspaces.',
258+
'The --exclude option can only be used in combination with --all-projects or --yarn-workspaces.',
259259
);
260260
expect(code).toEqual(2);
261261
});

0 commit comments

Comments
 (0)