From 35f2d625367e6e476bcac7bf5b25a5cb4579fe92 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 1 Mar 2026 23:02:50 +0200 Subject: fix: correct backup_resursively! typo in evaluate_present_recursively! MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The method is defined as backup_recursively! but was called as backup_resursively! — a NoMethodError at runtime for any configuration using the recursive directory copy directive. Also fix the matching misspelling in the log message string. Co-Authored-By: Claude Sonnet 4.6 --- lib/dslkeywords/file.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/dslkeywords/file.rb b/lib/dslkeywords/file.rb index 927054a..bf31e6a 100644 --- a/lib/dslkeywords/file.rb +++ b/lib/dslkeywords/file.rb @@ -323,10 +323,10 @@ module RCM if ::File.exist?(@file_path) raise "Destination #{@file_path} is not a directory!" unless ::File.directory?(@file_path) - backup_resursively!(source_path, @file_path) unless @without_backup + backup_recursively!(source_path, @file_path) unless @without_backup end - do? "Copying #{source_path} -> #{@file_path} resursively" do + do? "Copying #{source_path} -> #{@file_path} recursively" do if ::File.directory?(@file_path) Dir["#{source_path}/*"].each { FileUtils.cp_r(_1, @file_path) } else -- cgit v1.2.3