We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef965de commit 052d6c5Copy full SHA for 052d6c5
1 file changed
lib/API/Extra.js
@@ -108,7 +108,7 @@ module.exports = function(CLI) {
108
}
109
110
that.Client.executeRemote('getVersion', {}, function(err, data) {
111
- if (semver.satisfies(data, '>= 2.6.0'))
+ if (semver.satisfies(semver.coerce(data), '>=2.6.0'))
112
reporting();
113
else {
114
Common.printError(cst.PREFIX_MSG_ERR + 'You need to update your Daemon, please type `$ pm2 update`');
0 commit comments