Skip to content

Commit

Permalink
chore: Logging _clearDirectory
Browse files Browse the repository at this point in the history
  • Loading branch information
gcarreno committed Nov 13, 2024
1 parent 26d07ee commit 6494293
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/packages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,17 +144,18 @@ export class Packages {
}

private async _extract(file: string, dest: string): Promise<string> {
core.info(`Extracting ${file} to ${dest}`);
core.info(`_extract: Extracting ${file} to ${dest}`);
return tc.extractZip(file, dest);
}

private async _download(filename: string): Promise<string> {
const downloadPath = path.join(this._getTempDirectory(), filename);
core.info(`Downloading ${this.baseUrl}/${filename} to ${downloadPath}`);
core.info(`_download: Downloading ${this.baseUrl}/${filename} to ${downloadPath}`);
return tc.downloadTool(`${this.baseUrl}/${filename}`, downloadPath);
}

private async _clearDirectory(dirPath: string): Promise<void> {
core.info(`_clearDirectory: Clearing ${dirPath}`);
if (
await fs
.access(dirPath)
Expand Down

0 comments on commit 6494293

Please # to comment.