Skip to content

Commit

Permalink
fix: wrong name showing in install process
Browse files Browse the repository at this point in the history
  • Loading branch information
CKylinMC committed Jul 17, 2023
1 parent 5503763 commit 31b20ef
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/actions/install.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,15 +96,14 @@ export async function searchCloud(
continue;
}
reposource = list.reposource;
let repo = list.repofile;
const pkgs = list.pkgs;
const disableBanner = await Settings.get('disable_banner', false);
if (!disableBanner && 'banner' in list) {
log(`========================[BANNER]========================`);
log(list.banner);
log(`========================================================`);
}
log(chalk.gray(`Searching ${name} in ${repo}...`));
log(chalk.gray(`Searching ${name} in ${userepo.name??userepo.tag}...`));
pkg = pkgs.find((pkg) => pkg.name === name);
if (!pkg) {
continue;
Expand Down

0 comments on commit 31b20ef

Please sign in to comment.