(result)
| 75 | |
| 76 | completer(line, callback) { |
| 77 | const finish = (result) => { |
| 78 | let [completions, matched] = result; |
| 79 | // Nothing to complete if only match is what's already typed |
| 80 | if (completions.length === 1 && completions[0] === matched) |
| 81 | completions = []; |
| 82 | if (completions.length > 1 && !this.completionsShown) { |
| 83 | this._displayCompletions(completions); |
| 84 | } |
| 85 | callback(null, [completions, matched]); |
| 86 | }; |
| 87 | if (this.broken) { |
| 88 | const args = line.trimStart().split(/\s+/); |
| 89 | const cmd = args[0]; |
nothing calls this directly
no test coverage detected