Skip to content

Commit 311bda0

Browse files
committed
Update verbage for 'no operations' error
1 parent f2fd64d commit 311bda0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/apollo/src/commands/client/codegen.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ export default class Generate extends ClientCommand {
166166

167167
if (!operations.length && !fragments.length) {
168168
throw new Error(
169-
"No document sets found to generate code for."
169+
"No operations or fragments found to generate code for."
170170
);
171171
}
172172

0 commit comments

Comments
 (0)