Skip to content

Commit

Permalink
fix: missing 's' char in for loop
Browse files Browse the repository at this point in the history
  • Loading branch information
CKylinMC committed Jul 17, 2023
1 parent ab6119d commit 5503763
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/actions/search.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export async function searchRemote(searchText):Promise<any> {
log(`\nRemote results matched your input:\n`);
for (const result of results) {
console.log(chalk.bold(chalk.cyan(result.name)));
for (const pkg of result.result) {
for (const pkg of result.results) {
log(`\t${chalk.green(pkg.name)} (${pkg.fullname}) - ${pkg.description ?? 'No description'} (${pkg.author ?? ''}) - ${pkg.size}`);
}
console.log('');
Expand Down

0 comments on commit 5503763

Please sign in to comment.