summaryrefslogtreecommitdiff
path: root/utils/installer/install.ps1
diff options
context:
space:
mode:
Diffstat (limited to 'utils/installer/install.ps1')
-rw-r--r--utils/installer/install.ps12
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/installer/install.ps1 b/utils/installer/install.ps1
index 09b229ee..2defbda1 100644
--- a/utils/installer/install.ps1
+++ b/utils/installer/install.ps1
@@ -234,7 +234,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 !empty(v:errmsg) | cquit | else | quit | endif"
Invoke-Command -ScriptBlock { lvim --headless -c 'LvimUpdate' -c "$verify_version_cmd" } -ErrorAction SilentlyContinue
}
catch {