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 ed516f6 commit c842cb2Copy full SHA for c842cb2
spec/defines/global_config_entry_spec.rb
@@ -12,7 +12,7 @@
12
end
13
14
let(:npm_path) do
15
- if os =~ /freebsd/i
+ if facts[:os]['family'] == 'FreeBSD'
16
'/usr/local/bin/npm'
17
else
18
'/usr/bin/npm'
spec/defines/nodejs_npm_spec.rb
0 commit comments