Skip to content

Commit

Permalink
fix: type errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien-R44 committed Jan 9, 2024
1 parent 25b3652 commit 7574ed2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion commands/add_package.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export default class AddPackage extends BaseCommand {

if (officialScopes.includes(repoScope)) return 'official'

return 'community'
return '3rd-party'
}

@inject()
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/packages_fetcher.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ test.group('Packages Fetcher', (group) => {
await packageFactory(),
await packageFactory(),
await packageFactory(),
]).fetchPackages({ sort: 'stars' })
]).fetchPackages({ orderBy: 'stars' })

const stars = result.packages.map((pkg) => pkg.stars)

Expand Down

0 comments on commit 7574ed2

Please sign in to comment.