diff options
author | Jonathan Cooper <[email protected]> | 2022-11-14 05:13:24 -0500 |
---|---|---|
committer | Jonathan Cooper <[email protected]> | 2022-11-16 11:15:50 +0100 |
commit | e40a1149edf7e7126b1634337bc72f7484c22da7 (patch) | |
tree | cf0f21b3128d875d4dbcc1d1ff9b5275b8b75ddf | |
parent | d668598ff214b3e232d892f89ba58cec8d508c82 (diff) |
fix(installer): fix syntax error with powershell installer (#2875)
-rw-r--r-- | utils/installer/install.ps1 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/installer/install.ps1 b/utils/installer/install.ps1 index 41c73e7e..442d8622 100644 --- a/utils/installer/install.ps1 +++ b/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 { |