Skip to content

Commit

Permalink
type change correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
James Baxley committed Jul 5, 2018
1 parent 57d9d63 commit 6a07b76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/apollo-cli/src/commands/queries/check.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export default class CheckQueries extends Command {

return tasks.run().then(async ({ changes }) => {
const failures = changes.filter(
({ type }: Change) => type === ChangeType.FAILURE
({ type }: { type: ChangeType }) => type === ChangeType.FAILURE
);
const exit = failures.length > 0 ? 1 : 0;
if (flags.json) {
Expand Down

0 comments on commit 6a07b76

Please sign in to comment.