Skip to content

Commit

Permalink
repl: remove unused err argument
Browse files Browse the repository at this point in the history
Not used by any callers in `lib/repl.js`, and is not public API.

PR-URL: #16152
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Prince John Wesley <[email protected]>
Reviewed-By: Joyee Cheung <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Franziska Hinkelmann <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
maclover7 authored and joyeecheung committed Oct 12, 2017
1 parent a766f6d commit 0229e67
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/repl.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [];
Expand Down

0 comments on commit 0229e67

Please sign in to comment.