This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 9d78bdad Try updating npm
9d78bdad is described below
commit 9d78bdadb786f08cea8c4056039391cf18ce2678
Author: Sebb <[email protected]>
AuthorDate: Tue May 16 22:04:45 2023 +0100
Try updating npm
---
www/board/agenda/Rakefile | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/www/board/agenda/Rakefile b/www/board/agenda/Rakefile
index 0a205f08..e11dab8f 100644
--- a/www/board/agenda/Rakefile
+++ b/www/board/agenda/Rakefile
@@ -54,6 +54,7 @@ end
file 'package-lock.json' => 'package.json' do
sh 'npm install'
sh 'touch package-lock.json'
+ sh 'npm audit fix --force' # as advised in GH action log
end
file 'test/work' do
@@ -86,8 +87,8 @@ end
task :reset do
testfiles.each do |testfile|
if File.exist? "test/work/data/#{testfile}.yml"
- if
- IO.read("test/#{testfile}.yml") !=
+ if
+ IO.read("test/#{testfile}.yml") !=
IO.read("test/work/data/#{testfile}.yml")
then
rm "test/work/data/#{testfile}.yml"
@@ -109,7 +110,7 @@ task :reset do
end
end
-task :work => ['test/work/board',
+task :work => ['test/work/board',
*testfiles.map {|testfile| "test/work/data/#{testfile}.yml"}]
namespace :test do
@@ -131,7 +132,7 @@ task :update do
puts "#{File.dirname(File.realpath(__FILE__))}:"
system 'git pull'
end
-
+
# update libs
if File.exist? "#{ENV['HOME']}/.whimsy"
libs = YAML.load_file("#{ENV['HOME']}/.whimsy")[:lib] || []