Skip to content

Commit

Permalink
fixed summary check
Browse files Browse the repository at this point in the history
  • Loading branch information
raianand committed Apr 3, 2024
1 parent 64eddea commit 843c9a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion 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 src/summary.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ async function generateSummary() {
accounts[name]['name'] = name
accounts[name]['trusted'] = trusted_flag
const paths = accounts[name]['paths'] || []
if (!paths.any(p => p.path === path)) {
if (!paths.some(p => p.path === path)) {
accounts[name]['paths'] = [...paths, { path, method }]
}
return accounts
Expand Down

0 comments on commit 843c9a9

Please sign in to comment.