Skip to content

Commit 21074f7

Browse files
NemoAlexcemremengu
authored andcommitted
Fix typo (#116)
1 parent 230b7e5 commit 21074f7

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

app_template/plugins/support.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ module.exports = fp(function (fastify, opts, next) {
1212
next()
1313
})
1414

15-
// It you prefer async/await, use the following
15+
// If you prefer async/await, use the following
1616
//
1717
// module.exports = fp(async function (fastify, opts) {
1818
// fastify.decorate('someSupport', function () {

app_template/services/example/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module.exports = function (fastify, opts, next) {
88
next()
99
}
1010

11-
// It you prefer async/await, use the following
11+
// If you prefer async/await, use the following
1212
//
1313
// module.exports = async function (fastify, opts) {
1414
// fastify.get('/example', async function (request, reply) {

app_template/services/root.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module.exports = function (fastify, opts, next) {
88
next()
99
}
1010

11-
// It you prefer async/await, use the following
11+
// If you prefer async/await, use the following
1212
//
1313
// module.exports = async function (fastify, opts) {
1414
// fastify.get('/', async function (request, reply) {

app_template/test/plugins/support.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ test('support works standalone', (t) => {
1515
})
1616
})
1717

18-
// It you prefer async/await, use the following
18+
// If you prefer async/await, use the following
1919
//
2020
// test('support works standalone', async (t) => {
2121
// const fastify = Fastify()

app_template/test/services/example.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ test('example is loaded', (t) => {
1515
})
1616
})
1717

18-
// It you prefer async/await, use the following
18+
// If you prefer async/await, use the following
1919
//
2020
// test('example is loaded', async (t) => {
2121
// const app = build(t)

app_template/test/services/root.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ test('default root route', (t) => {
1515
})
1616
})
1717

18-
// It you prefer async/await, use the following
18+
// If you prefer async/await, use the following
1919
//
2020
// test('default root route', async (t) => {
2121
// const app = build(t)

0 commit comments

Comments
 (0)