Skip to content

Commit

Permalink
fix: error message typo
Browse files Browse the repository at this point in the history
  • Loading branch information
benjie committed Jul 29, 2020
1 parent d2c15cb commit 001de88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/graphile-build/src/makeNewBuild.js
Expand Up @@ -519,7 +519,7 @@ export default function makeNewBuild(builder: SchemaBuilder): { ...Build } {
fieldWithHooks: ((fieldName, spec, fieldScope) => {
if (!isString(fieldName)) {
throw new Error(
"It looks like you forgot to pass the fieldName to `fieldWithHooks`, we're sorry this is current necessary."
"It looks like you forgot to pass the fieldName to `fieldWithHooks`, we're sorry this is currently necessary."
);
}
if (!fieldScope) {
Expand Down Expand Up @@ -721,7 +721,7 @@ export default function makeNewBuild(builder: SchemaBuilder): { ...Build } {
fieldWithHooks: ((fieldName, spec, fieldScope = {}) => {
if (!isString(fieldName)) {
throw new Error(
"It looks like you forgot to pass the fieldName to `fieldWithHooks`, we're sorry this is current necessary."
"It looks like you forgot to pass the fieldName to `fieldWithHooks`, we're sorry this is currently necessary."
);
}
const context = {
Expand Down

0 comments on commit 001de88

Please sign in to comment.