Skip to content

Commit

Permalink
fix: call handler validation
Browse files Browse the repository at this point in the history
  • Loading branch information
saihaj committed Dec 13, 2023
1 parent d8b1ade commit ae721d3
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 23 deletions.
5 changes: 5 additions & 0 deletions .changeset/rich-turtles-join.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphprotocol/graph-cli': patch
---

fix call handler validation
2 changes: 1 addition & 1 deletion packages/cli/src/commands/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export default class BuildCommand extends Command {
if (watch) {
await compiler.watchAndCompile();
} else {
const result = await compiler.compile({ validate: false });
const result = await compiler.compile({ validate: true });
if (result === false) {
this.exit(1);
}
Expand Down
44 changes: 22 additions & 22 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ae721d3

Please sign in to comment.