From 3c94fbcbfdbbf07c3d2af93f2e51d972a22d9f29 Mon Sep 17 00:00:00 2001 From: pvincent Date: Sun, 28 Feb 2021 08:36:14 +0400 Subject: [PATCH] boolean type --- vite.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vite.config.ts b/vite.config.ts index 88d527b..cc548b0 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -20,7 +20,7 @@ function buildVersion(): string { return dirty > 0 ? `${version}…${dirty}` : version } -function isGitCommand() { +function isGitCommand(): boolean { try { execSync("command -v git") return true