ci: Fix lint to fix build (#7076)

This commit is contained in:
Iván Ovejero 2023-09-01 16:23:23 +02:00 committed by GitHub
parent 97f87ae0fc
commit 008cdcce56
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -251,9 +251,8 @@ export class NodesController {
throw new BadRequestError(PACKAGE_NAME_NOT_PROVIDED);
}
const previouslyInstalledPackage = await this.communityPackageService.findInstalledPackage(
name,
);
const previouslyInstalledPackage =
await this.communityPackageService.findInstalledPackage(name);
if (!previouslyInstalledPackage) {
throw new BadRequestError(PACKAGE_NOT_INSTALLED);