Browse Source

fix(installer): fix syntax error with powershell installer (#2875)

Jonathan Cooper 2 years ago
parent
commit
e40a1149ed
1 changed files with 1 additions and 1 deletions
  1. 1 1
      utils/installer/install.ps1

+ 1 - 1
utils/installer/install.ps1

@@ -231,7 +231,7 @@ function setup_lvim() {
 function validate_lunarvim_files() {
     Set-Alias lvim "$INSTALL_PREFIX\bin\lvim.ps1"
     try {
-        $verify_version_cmd='if v:errmsg != "" | cquit | else | quit | endif'
+        $verify_version_cmd="if v:errmsg != \`"\`" | cquit | else | quit | endif"
         Invoke-Command -ScriptBlock { lvim --headless -c 'LvimUpdate' -c "$verify_version_cmd" } -ErrorAction SilentlyContinue
     }
     catch {