Skip to content

Commit

Permalink
[build] Adapting script to new package-lock.json location.
Browse files Browse the repository at this point in the history
  • Loading branch information
diemol committed Mar 27, 2024
1 parent 5affd35 commit 7660a33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ namespace :node do
new_version = updated_version(old_version, arguments[:version])

['javascript/node/selenium-webdriver/package.json',
'javascript/node/selenium-webdriver/package-lock.json'].each do |file|
'package-lock.json'].each do |file|
text = File.read(file).gsub(old_version, new_version)
File.open(file, "w") { |f| f.puts text }
end
Expand Down Expand Up @@ -1097,7 +1097,7 @@ namespace :all do
'java/version.bzl',
'javascript/node/selenium-webdriver/CHANGES.md',
'javascript/node/selenium-webdriver/package.json',
'javascript/node/selenium-webdriver/package-lock.json',
'package-lock.json',
'py/docs/source/conf.py',
'py/selenium/__init__.py',
'py/selenium/webdriver/__init__.py',
Expand Down

0 comments on commit 7660a33

Please sign in to comment.