From 7660a333521eb63fb6ff87f887d7cbfcf5b7f6de Mon Sep 17 00:00:00 2001 From: Diego Molina Date: Wed, 27 Mar 2024 11:24:57 +0100 Subject: [PATCH] [build] Adapting script to new package-lock.json location. --- Rakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Rakefile b/Rakefile index 644b6c547e3ba..19c8a04980a6b 100644 --- a/Rakefile +++ b/Rakefile @@ -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 @@ -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',