Skip to content

Commit 9138f60

Browse files
committed
Bumped v3.1.0
1 parent 330c7c6 commit 9138f60

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/watch/fork.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const main = async () => {
4040
fastify = await runFastify(process.argv.splice(2))
4141
const type = process.env.childEvent
4242

43-
process.send({ type: type, err: null })
43+
process.send({ type, err: null })
4444

4545
try {
4646
await fastify.ready()

lib/watch/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const watch = function (args, ignoreWatch, verboseWatch) {
4242
const env = Object.assign({}, process.env, childEvent, require('dotenv').config().parsed)
4343

4444
const _child = cp.fork(forkPath, args, {
45-
env: env,
45+
env,
4646
cwd: process.cwd(),
4747
encoding: 'utf8'
4848
})

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "fastify-cli",
3-
"version": "3.0.1",
3+
"version": "3.1.0",
44
"description": "Run a fastify route with one command!",
55
"main": "cli.js",
66
"bin": {

0 commit comments

Comments
 (0)