Skip to content
This repository was archived by the owner on Jun 20, 2024. It is now read-only.

Commit ab0d6f3

Browse files
committed
Prioritize direct install over CLI install
1 parent 142be80 commit ab0d6f3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/extension.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,10 +172,10 @@ async function getServerOptions(): Promise<ServerOptions | undefined> {
172172

173173
try {
174174
const executable: ServerOptions | undefined =
175-
(shopifyCLIPath && (await shopifyCLIExecutable(shopifyCLIPath))) ||
176175
(themeCheckPath && (await themeCheckExecutable(themeCheckPath))) ||
177-
(await getShopifyCLIExecutable()) ||
178-
(await getThemeCheckExecutable());
176+
(shopifyCLIPath && (await shopifyCLIExecutable(shopifyCLIPath))) ||
177+
(await getThemeCheckExecutable()) ||
178+
(await getShopifyCLIExecutable());
179179
if (!executable) {
180180
throw new Error('No executable found');
181181
}

0 commit comments

Comments
 (0)