Skip to content

Commit 351978c

Browse files
committed
Fix ruby error in daily test
1 parent acfbcd8 commit 351978c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script/conditional-install

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ end
88
# Why not read node_modules/.package-lock.json? Because it's not the same.
99
hashfile = 'node_modules/.package-lock.json.hash'
1010
current = Digest::SHA2.file('package-lock.json').hexdigest
11-
expected = File.read(hashfile) if File.exist?(hashfile)
11+
expected = File.read(hashfile) if File.file?(hashfile)
1212

1313
if expected != current
1414
puts 'Running npm ci to regenerate node_modules.'

0 commit comments

Comments
 (0)