Skip to content

Commit 2000b89

Browse files
committed
fix: allow command provider to not implement complete method
1 parent ad2ed29 commit 2000b89

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/phoenix/src/puter-shell/providers/CompositeCommandProvider.js

+1
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ export class CompositeCommandProvider {
4949

5050
const results = [];
5151
for (const provider of this.providers) {
52+
if ( ! provider.complete ) continue;
5253
results.push(...await provider.complete(...a));
5354
}
5455
return results;

0 commit comments

Comments
 (0)