From 8160ed52c574a4ac61d8b9f79012938c44576ce9 Mon Sep 17 00:00:00 2001 From: Paul Sharpe Date: Mon, 7 Oct 2024 20:36:33 +0100 Subject: [PATCH] Fix Formatting error --- packages/vscode-extension/src/workspace.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/vscode-extension/src/workspace.ts b/packages/vscode-extension/src/workspace.ts index bb7729c..8f22e6d 100644 --- a/packages/vscode-extension/src/workspace.ts +++ b/packages/vscode-extension/src/workspace.ts @@ -176,11 +176,10 @@ export class Workspace { } try { - let globalBin = ""; + let globalBin = ''; if (process.platform === 'win32') { - globalBin = execa.sync('cmd', ['/c','where','moon']).stdout; - } - else{ + globalBin = execa.sync('cmd', ['/c', 'where', 'moon']).stdout; + } else { globalBin = execa.sync('which', ['moon']).stdout; }