Skip to content
This repository was archived by the owner on Aug 31, 2018. It is now read-only.

Commit c498448

Browse files
maclover7addaleax
authored andcommitted
repl: remove unused err argument
Not used by any callers in `lib/repl.js`, and is not public API. PR-URL: nodejs/node#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]>
1 parent ffc0e3a commit c498448

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/repl.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1025,9 +1025,7 @@ function complete(line, callback) {
10251025

10261026
// Will be called when all completionGroups are in place
10271027
// Useful for async autocompletion
1028-
function completionGroupsLoaded(err) {
1029-
if (err) throw err;
1030-
1028+
function completionGroupsLoaded() {
10311029
// Filter, sort (within each group), uniq and merge the completion groups.
10321030
if (completionGroups.length && filter) {
10331031
var newCompletionGroups = [];

0 commit comments

Comments
 (0)