diff --git a/lib/agent.js b/lib/agent.js index 4937006..f423612 100644 --- a/lib/agent.js +++ b/lib/agent.js @@ -263,7 +263,7 @@ class Agent { } if (this.launcher) { const { modules } = await this.launcher.readPackage() - if (module['node-red'] != 'latest') { + if (module['node-red'] !== 'latest') { state.nodeRedVersion = modules['node-red'] } else { const nrPackPath = path.join(this.launcher.projectDir, 'node_modules/node-red/package.json')