Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien-R44 committed Apr 9, 2024
1 parent afe905d commit 7da9040
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions examples/fastify/bin/start.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { hot } from 'hot-hook'

await hot.init({
await hot.init({
root: import.meta.filename,
boundaries: ['../src/services/**.ts']
boundaries: ['../src/services/**.ts'],
})

await import('../src/index.js')
2 changes: 1 addition & 1 deletion examples/fastify/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const fastify = Fastify({
})

fastify.get('/', async (request, reply) => {
const { PostsService } = await import('./services/posts_service.js', { with: { hot: 'true' }})
const { PostsService } = await import('./services/posts_service.js', { with: { hot: 'true' } })
return new PostsService().getPosts()
})

Expand Down
2 changes: 1 addition & 1 deletion examples/fastify/src/services/posts_service.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { uppercasePostTitles } from "../helpers/posts";
import { uppercasePostTitles } from '../helpers/posts'

export class PostsService {
/**
Expand Down

0 comments on commit 7da9040

Please sign in to comment.