Skip to content

Commit 2cce625

Browse files
committed
Fix gt vs lt on the nodejs default and compare with st2chatops_version instead of st2_version
1 parent 9a2a75c commit 2cce625

File tree

1 file changed

+1
-1
lines changed
  • roles/StackStorm.nodejs/defaults

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
---
22
# nodejs version to install
3-
nodejs_major_version: "{% if st2_version == 'latest' or st2_version is version('3.5.0', '<') %}14{% else %}10{% endif %}"
3+
nodejs_major_version: "{% if st2chatops_version == 'latest' or st2chatops_version is version('3.5.0', '>=') %}14{% else %}10{% endif %}"

0 commit comments

Comments
 (0)