Skip to content

Commit

Permalink
fix: console (#534)
Browse files Browse the repository at this point in the history
> remove console.log

----

去除 console.log
  • Loading branch information
elrrrrrrr authored Jun 27, 2023
1 parent 2416776 commit 4141003
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ export class SavePackageVersionController extends AbstractController {
// if pkg already exists, still allow to publish
const [ scope, name ] = getScopeAndName(fullname);
const pkg = await this.packageRepository.findPackage(scope, name);
console.log('pkg', pkg);
if (!pkg) {
const errors = (validateResult.errors || validateResult.warnings).join(', ');
throw new UnprocessableEntityError(`package.name invalid, errors: ${errors}`);
Expand Down

0 comments on commit 4141003

Please sign in to comment.