Skip to content

Commit

Permalink
Fix type error on build
Browse files Browse the repository at this point in the history
  • Loading branch information
webfiltered committed Nov 28, 2024
1 parent ee9aaa4 commit 68e7b70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/todesktop/beforeInstall.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ module.exports = async ({ pkgJsonPath, pkgJson, appDir, hookName }) => {

// Download git
// TODO: Move to the installer, if current dist infra permits it
const res = spawnSync('where.exe', 'git')
const res = spawnSync('where.exe', ['git'])
if (res.status !== 0) spawnSync('curl', ['-s', 'https://github.com/git-for-windows/git/releases/download/v2.47.1.windows.1/Git-2.47.1-64-bit.exe'], { shell:true, stdio: 'ignore' }).toString();
}
};

0 comments on commit 68e7b70

Please sign in to comment.