aboutsummaryrefslogtreecommitdiff
path: root/installer/install-kotlin-language-server.cmd
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2019-12-26 13:56:20 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2019-12-26 13:56:20 +0900
commit70d4458905da0a22ad439884da73606a5ccc6bd2 (patch)
tree445a87c4f8fcca96cc24513b3eff19e1ac2aabb8 /installer/install-kotlin-language-server.cmd
parent965dad764ca5b08831638051d7ce050b49386ea1 (diff)
downloadvim-lsp-settings-70d4458905da0a22ad439884da73606a5ccc6bd2.tar.gz
vim-lsp-settings-70d4458905da0a22ad439884da73606a5ccc6bd2.tar.bz2
vim-lsp-settings-70d4458905da0a22ad439884da73606a5ccc6bd2.zip
Check unzip command existsv0.0.1
Diffstat (limited to 'installer/install-kotlin-language-server.cmd')
-rw-r--r--installer/install-kotlin-language-server.cmd6
1 files changed, 6 insertions, 0 deletions
diff --git a/installer/install-kotlin-language-server.cmd b/installer/install-kotlin-language-server.cmd
index 1a67356..6e5fae5 100644
--- a/installer/install-kotlin-language-server.cmd
+++ b/installer/install-kotlin-language-server.cmd
@@ -1,5 +1,11 @@
@echo off
+where unzip1 2>NUL
+if %ERRORLEVEL% neq 0 (
+ echo unzip command required
+ exit /b 1
+)
+
setlocal
cd /d %~dp0