Skip to content

Commit

Permalink
Fixed linter
Browse files Browse the repository at this point in the history
  • Loading branch information
GermanBluefox committed Sep 27, 2024
1 parent 8732b75 commit ebc00bc
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/controllerTools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,7 @@ function resolveControllerTools(): any {
}

// Attempt 2: Resolve @iobroker/js-controller-common in JS-Controller dir - JS-Controller 4.1+
importPath = tryResolvePackage(
['@iobroker/js-controller-common'],
[join(utils.controllerDir, 'node_modules')],
);
importPath = tryResolvePackage(['@iobroker/js-controller-common'], [join(utils.controllerDir, 'node_modules')]);
if (importPath) {
try {
controllerCommonModulesInternal = require(importPath);
Expand Down

0 comments on commit ebc00bc

Please sign in to comment.