mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-02 07:01:30 -08:00
ci: Fix lint to fix build (#7076)
This commit is contained in:
parent
97f87ae0fc
commit
008cdcce56
|
@ -251,9 +251,8 @@ export class NodesController {
|
||||||
throw new BadRequestError(PACKAGE_NAME_NOT_PROVIDED);
|
throw new BadRequestError(PACKAGE_NAME_NOT_PROVIDED);
|
||||||
}
|
}
|
||||||
|
|
||||||
const previouslyInstalledPackage = await this.communityPackageService.findInstalledPackage(
|
const previouslyInstalledPackage =
|
||||||
name,
|
await this.communityPackageService.findInstalledPackage(name);
|
||||||
);
|
|
||||||
|
|
||||||
if (!previouslyInstalledPackage) {
|
if (!previouslyInstalledPackage) {
|
||||||
throw new BadRequestError(PACKAGE_NOT_INSTALLED);
|
throw new BadRequestError(PACKAGE_NOT_INSTALLED);
|
||||||
|
|
Loading…
Reference in a new issue