fix scripts

This commit is contained in:
OpportunityLiu
2020-03-20 22:53:43 +08:00
Unverified
parent f8bc635057
commit 470933beed
5 changed files with 29 additions and 20 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ async function unixInstall(version, sha) {
await exec_1.exec('make', ['install', `prefix=${binDir}`], { cwd: sourceDir });
const cacheDir = await toolCache.cacheDir(binDir, 'xmake', version);
await io.rmRF(binDir);
await git.cleanup();
await git.cleanup(sha);
return cacheDir;
});
}