We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f570e7c commit 22af21bCopy full SHA for 22af21b
1 file changed
spec/acceptance/class_spec.rb
@@ -34,9 +34,10 @@
34
35
include_examples 'cleanup'
36
37
- # Debian 12 contains NodeJS 18, when we test 16, we need to force the nodesource version
+ # Debian 12 contains NodeJS 18, when we test 16 and 18, we need to force the nodesource version
38
+ # as Debians versions *can* be newer
39
repo_pin =
- if nodejs_version == '16' && fact('os.family') == 'Debian' && fact('os.release.major') == '12'
40
+ if %w[16 18].include?(nodejs_version) && fact('os.family') == 'Debian' && fact('os.release.major') == '12'
41
'1000'
42
else
43
'undef'
0 commit comments