diff options
author | Jonathan Cooper <[email protected]> | 2022-11-14 05:13:24 -0500 |
---|---|---|
committer | GitHub <[email protected]> | 2022-11-14 11:13:24 +0100 |
commit | e9c43ca9b3ac2d440fe3a86131f4e0ff1d2fa691 (patch) | |
tree | 8b33c37e05b24563d506502df151ba5e18275247 /utils/installer | |
parent | 8474a06b43d539becd92024fdd4306ee89a6fd08 (diff) |
fix(installer): fix syntax error with powershell installer (#2875)
Diffstat (limited to 'utils/installer')
-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 { |