diff --git a/lib/repl.js b/lib/repl.js index 3ed7f7dd6d8f22..feaa4b32df5064 100644 --- a/lib/repl.js +++ b/lib/repl.js @@ -1025,9 +1025,7 @@ function complete(line, callback) { // Will be called when all completionGroups are in place // Useful for async autocompletion - function completionGroupsLoaded(err) { - if (err) throw err; - + function completionGroupsLoaded() { // Filter, sort (within each group), uniq and merge the completion groups. if (completionGroups.length && filter) { var newCompletionGroups = [];