Skip to content

Commit 6dc8fe8

Browse files
committed
Rename start option noDaemonMode -> noPM2DaemonMode
1 parent cc8af29 commit 6dc8fe8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ async function start (opts = {}) {
105105

106106
function startDaemon (description, opts) {
107107
return new Promise((resolve, reject) => {
108-
pm2.connect(!!opts.noDaemonMode, err => {
108+
pm2.connect(!!opts.noPM2DaemonMode, err => {
109109
if (err) return reject(new Error('Could not connect to the process manager to start the daemon.'))
110110
pm2.start(description, err => {
111111
pm2.disconnect()

0 commit comments

Comments
 (0)