From c8f913d710454d0ab3da2147309b442a78965720 Mon Sep 17 00:00:00 2001 From: KernelDeimos Date: Mon, 21 Oct 2024 18:07:45 -0400 Subject: [PATCH] fix: phoenix incorrect lookup order --- .../src/puter-shell/providers/CompositeCommandProvider.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/phoenix/src/puter-shell/providers/CompositeCommandProvider.js b/src/phoenix/src/puter-shell/providers/CompositeCommandProvider.js index 0dd03ada..91efa9a5 100644 --- a/src/phoenix/src/puter-shell/providers/CompositeCommandProvider.js +++ b/src/phoenix/src/puter-shell/providers/CompositeCommandProvider.js @@ -35,7 +35,7 @@ export class CompositeCommandProvider { for (const provider of this.providers) { const commands = await provider.lookupAll(...a); if ( commands ) { - results.push(...commands); + results.unshift(...commands); } }