Skip to content

Commit

Permalink
remove extra log line
Browse files Browse the repository at this point in the history
  • Loading branch information
Valentin Uchkunev committed Feb 4, 2025
1 parent be5b439 commit 0963226
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
4 changes: 1 addition & 3 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

4 changes: 1 addition & 3 deletions src/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,9 @@ async function downloadWithAuth (url: string, destination: string, wdfGithubToke
info(`📂 Created directory: ${dir}`)
}

const zipFile = await downloadZip(url, destination, wdfGithubToken).catch((err) => {
return await downloadZip(url, destination, wdfGithubToken).catch((err) => {
throw new Error(`Can't download with auth: ${err}`)
})
info(`✅ Downloaded successfully to ${zipFile}`)
return zipFile
} catch (error) {
setFailed(`❌ Download failed: ${error instanceof Error ? error.message : String(error)}`)
return ''
Expand Down

0 comments on commit 0963226

Please sign in to comment.