diff --git a/bin/index.js b/bin/index.js old mode 100644 new mode 100755 diff --git a/src/utils.js b/src/utils.js index 5798a0e..71c0f13 100644 --- a/src/utils.js +++ b/src/utils.js @@ -29,8 +29,8 @@ function createId(coll) { } -// Returns document that are have unsatisfied relations -// Example: comment that references a post that doesn't exist +// Returns document ids that have unsatisfied relations +// Example: a comment that references a post that doesn't exist function getRemovable(db) { var removable = []