From 44b4222bc02f102480d1afe05d940612ff6cb983 Mon Sep 17 00:00:00 2001 From: Minteck Date: Sun, 27 Mar 2022 17:56:40 +0200 Subject: WIP Alicorn port (abandonned, To be removed) --- hooks/clone.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hooks/clone.js') diff --git a/hooks/clone.js b/hooks/clone.js index 315a6e5..239d09a 100644 --- a/hooks/clone.js +++ b/hooks/clone.js @@ -26,7 +26,7 @@ module.exports = (repo, branch, callback) => { const spinner = ora("Downloading package...").start(); - if (os.platform() === "win32") { + if (twiplatform === "win32") { git = require('child_process').execSync("where git").toString().trim(); } else { git = require('child_process').execSync("which git").toString().trim(); -- cgit