Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ryannz committed Dec 30, 2017
1 parent 4398750 commit 123a277
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/graph.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ Graph.prototype.setParent = function(v, parent) {
ancestor = this.parent(ancestor)) {
if (ancestor === v) {
throw new Error("Setting " + parent+ " as parent of " + v +
" would create create a cycle");
" would create a cycle");
}
}

Expand Down

0 comments on commit 123a277

Please sign in to comment.