Skip to content

Commit

Permalink
style: remove trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs committed Nov 3, 2024
1 parent 7441be8 commit f6ea783
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ Autoload can be customised using the following options:
- `scriptPattern` (optional) - Regex to override the script files accepted by default. You should only use this option
with a [customization hooks](https://nodejs.org/docs/latest/api/module.html#customization-hooks)
with a [customization hooks](https://nodejs.org/docs/latest/api/module.html#customization-hooks)
provider, such as `ts-node`. Otherwise, widening the acceptance extension here will result in error.
Expand Down
2 changes: 1 addition & 1 deletion test/module/autohooks/routes/.autohooks.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export default async function (app, opts) {
export default async function (app, opts) {
app.addHook('onRequest', async (req, reply) => {
req.hooked = req.hooked || []
req.hooked.push('root')
Expand Down
2 changes: 1 addition & 1 deletion test/module/autohooks/routes/child/.autohooks.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export default async function (app, opts) {
export default async function (app, opts) {
app.addHook('onRequest', async (req, reply) => {
req.hooked = req.hooked || []
req.hooked.push('child')
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export default async function (app, opts) {
export default async function (app, opts) {
app.addHook('onRequest', async (req, reply) => {
req.hooked = req.hooked || []
req.hooked.push('grandchild')
Expand Down

0 comments on commit f6ea783

Please sign in to comment.