Skip to content

Commit 51cf8fb

Browse files
committed
Old habbits die hard: !== instead of !=.
1 parent a7b7699 commit 51cf8fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/expand.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ api.expand = ({
421421
// and value is not, itself, a graph
422422
// index cases handled above
423423
if(container.includes('@graph') &&
424-
!container.some(key => key == '@id' || key == '@index') &&
424+
!container.some(key => key === '@id' || key === '@index') &&
425425
!_isGraph(expandedValue)) {
426426
// ensure expanded value is an array
427427
expandedValue = [].concat(expandedValue);

0 commit comments

Comments
 (0)