Skip to content

Commit 926ad0c

Browse files
authored
Merge pull request #3411 from joriki/patch-1
Fix typo in error message for edge creation
2 parents c97f01f + 58fdcc8 commit 926ad0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/collection/index.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ elesfn.restore = function( notifyRenderer = true, addToPool = true ){
452452
badSourceOrTarget = true;
453453
} else if( !cy.hasElementWithId( val ) ){
454454
// can't create edge if one of its nodes doesn't exist
455-
util.error( 'Can not create edge `' + id + '` with nonexistant ' + field + ' `' + val + '`' );
455+
util.error( 'Can not create edge `' + id + '` with nonexistent ' + field + ' `' + val + '`' );
456456
badSourceOrTarget = true;
457457
}
458458
}

0 commit comments

Comments
 (0)