mirror of
https://github.com/LunarVim/LunarVim.git
synced 2024-09-21 02:55:09 +02:00
fix(installer): fix syntax error with powershell installer (#2875)
This commit is contained in:
parent
d668598ff2
commit
e40a1149ed
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue