Skip to content

Commit

Permalink
fmt and build
Browse files Browse the repository at this point in the history
  • Loading branch information
softprops committed May 6, 2024
1 parent 998623f commit 40bf9ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ export const upload = async (
const [owner, repo] = config.github_repository.split("/");
const { name, size, mime, data: body } = asset(path);
const currentAsset = currentAssets.find(
({ name: currentName }) => currentName == name.replace(' ','.')
({ name: currentName }) => currentName == name.replace(" ", ".")
);
if (currentAsset) {
console.log(`♻️ Deleting previously uploaded asset ${name}...`);
Expand Down Expand Up @@ -310,7 +310,7 @@ export const release = async (
return release.data;
} catch (error) {
// presume a race with competing metrix runs
console.log(error.response.data)
console.log(error.response.data);
console.log(
`⚠️ GitHub release failed with status: ${
error.status
Expand Down

0 comments on commit 40bf9ec

Please sign in to comment.