Skip to content

Commit

Permalink
fix: change installation path of assets
Browse files Browse the repository at this point in the history
  • Loading branch information
krdlab committed Jan 16, 2024
1 parent abead41 commit e7a289f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/asset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ abstract class Asset {

private async download() {
const downloadPath = await tc.downloadTool(this.downloadUrl);
const extractPath = await this.extract(downloadPath, this.fileNameWithoutExt, this.fileExt);
const dest = path.join(path.dirname(downloadPath), this.fileNameWithoutExt);
const extractPath = await this.extract(downloadPath, dest, this.fileExt);

const toolRoot = await this.findToolRoot(extractPath, this.isDirectoryNested);
if (!toolRoot) {
Expand Down

0 comments on commit e7a289f

Please sign in to comment.