Skip to content

Commit

Permalink
minor: use new eslint configuration file format
Browse files Browse the repository at this point in the history
  • Loading branch information
alekitto committed Jul 31, 2024
1 parent daa02ac commit fd80eb6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/Command/DebugCommand.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ Or for a specific bus only:

return __jymfony.trim(docComment);
}
} catch (e) {
} catch {
}

return '';
Expand Down
2 changes: 1 addition & 1 deletion src/DependencyInjection/MessengerPass.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ export default class MessengerPass extends implementationOf(CompilerPassInterfac
const method = (() => {
try {
return handlerClass.getMethod(methodName);
} catch (e) {
} catch {
throw new RuntimeException(__jymfony.sprintf('Invalid handler service "%s": class "%s" must have a "%s()" method.', serviceId, handlerClass.name, methodName));
}
})();
Expand Down
7 changes: 0 additions & 7 deletions test/.eslintrc.json

This file was deleted.

0 comments on commit fd80eb6

Please sign in to comment.