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 1c7baf08 Ignore error if missing
1c7baf08 is described below

commit 1c7baf08f5ccb2fa6f558d8b85d06166d9e90d1d
Author: Sebb <s...@apache.org>
AuthorDate: Mon Feb 19 16:28:39 2024 +0000

    Ignore error if missing
---
 Rakefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Rakefile b/Rakefile
index 61f65aea..659765f8 100644
--- a/Rakefile
+++ b/Rakefile
@@ -356,7 +356,7 @@ end
 task :rdoc => 'www/docs/api/index.html'
 file 'www/docs/api/index.html' => Rake::FileList['lib/whimsy/**/*.rb'] do
   # remove old files first
-  FileUtils.remove_dir(File.join(File.dirname(__FILE__),'www/docs/api'))
+  FileUtils.remove_dir(File.join(File.dirname(__FILE__),'www/docs/api'), true) 
# ignore error if missing
   system!('rdoc', 'lib/whimsy', '--output', 'www/docs/api', '--force-output',
     '--title', 'whimsy/asf lib', {chdir: File.dirname(__FILE__)})
 end

Reply via email to