Skip to content

Commit

Permalink
Update formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
drewolson committed Nov 22, 2024
1 parent 2e10447 commit 4c58205
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion dist/index.js

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

6 changes: 4 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,10 @@ const getAsset = (
if (release.assets.length == 0) {
throw new Error(`Release ${release.tag_name} has no assets.`);
}
const assetsForPlatformAndArchitecture = release.assets.filter((asset) =>
asset.name.includes(platformAndArchitecture) && !asset.name.includes("TESTING"),
const assetsForPlatformAndArchitecture = release.assets.filter(
(asset) =>
asset.name.includes(platformAndArchitecture) &&
!asset.name.includes("TESTING"),
);
if (assetsForPlatformAndArchitecture.length === 0) {
throw new Error(
Expand Down

0 comments on commit 4c58205

Please sign in to comment.