Skip to content

Commit c2fd2bc

Browse files
author
Stephen Post
committed
Update equality check after PR comments
1 parent 0eb71cd commit c2fd2bc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/apollo-graphql/src/schema/buildSchemaFromSDL.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ export function addResolversToSchema(
238238
const newValues: { [key: string]: GraphQLEnumValue } = {};
239239
values.forEach(value => {
240240
let newValue = (fieldConfigs as any)[value.name];
241-
if (newValue == undefined) {
241+
if (newValue === undefined) {
242242
newValue = value.name;
243243
}
244244
newValues[value.name] = {

0 commit comments

Comments
 (0)