Skip to content

Commit

Permalink
chore: fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
dziraf committed Mar 28, 2023
1 parent 7813582 commit 2e99c11
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.2",
"husky": "^4.2.5",
"prettier": "^2.8.6",
"prettier": "^2.8.7",
"semantic-release": "^20.1.3",
"semantic-release-slack-bot": "^4.0.0",
"typescript": "^4.9.5"
Expand Down
2 changes: 1 addition & 1 deletion src/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ const register = async (server: Hapi.Server, options: ExtendedAdminJSOptions) =>
const resolveAuthOption = (route) => {
if (route.action === 'bundleComponents') return false;
return options.auth?.strategy;
}
};

routes.forEach((route) => {
const auth = resolveAuthOption(route);
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7374,10 +7374,10 @@ prettier-linter-helpers@^1.0.0:
dependencies:
fast-diff "^1.1.2"

prettier@^2.8.6:
version "2.8.6"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.6.tgz#5c174b29befd507f14b83e3c19f83fdc0e974b71"
integrity sha512-mtuzdiBbHwPEgl7NxWlqOkithPyp4VN93V7VeHVWBF+ad3I5avc0RVDT4oImXQy9H/AqxA2NSQH8pSxHW6FYbQ==
prettier@^2.8.7:
version "2.8.7"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.7.tgz#bb79fc8729308549d28fe3a98fce73d2c0656450"
integrity sha512-yPngTo3aXUUmyuTjeTUT75txrf+aMh9FiD7q9ZE/i6r0bPb22g4FsE6Y338PQX1bmfy08i9QQCB7/rcUAVntfw==

proc-log@^2.0.0, proc-log@^2.0.1:
version "2.0.1"
Expand Down

0 comments on commit 2e99c11

Please sign in to comment.