diff options
Diffstat (limited to 'hooks/clone.js')
-rw-r--r-- | hooks/clone.js | 2 |
1 files changed, 1 insertions, 1 deletions
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();
|