Skip to content

Commit

Permalink
[build] update version in package-lock for node
Browse files Browse the repository at this point in the history
  • Loading branch information
titusfortner committed Jan 25, 2024
1 parent e93719e commit b1af5d6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions Rakefile
Expand Up @@ -557,9 +557,11 @@ namespace :node do
old_version = node_version
new_version = updated_version(old_version, arguments[:version])

file = 'javascript/node/selenium-webdriver/package.json'
text = File.read(file).gsub(old_version, new_version)
File.open(file, "w") { |f| f.puts text }
['javascript/node/selenium-webdriver/package.json',
'javascript/node/selenium-webdriver/package-lock.json'].each do |file|
text = File.read(file).gsub(old_version, new_version)
File.open(file, "w") { |f| f.puts text }
end

Rake::Task['node:changelog'].invoke
end
Expand Down
4 changes: 2 additions & 2 deletions javascript/node/selenium-webdriver/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b1af5d6

Please sign in to comment.