From 8f9e6ec4eee5219d4fec580a8247337f2b199227 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Wed, 19 Feb 2025 22:29:01 +0200 Subject: factor out symlink test --- lib/dslkeywords/file.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'lib') diff --git a/lib/dslkeywords/file.rb b/lib/dslkeywords/file.rb index f6c6998..186fa10 100644 --- a/lib/dslkeywords/file.rb +++ b/lib/dslkeywords/file.rb @@ -43,7 +43,6 @@ module RCM text = @from == :sourcefile ? ::File.read(@content) : @content return @from == :template ? ERB.new(text).result : text end - @content = text.instance_of?(Array) ? text.join("\n") : text end -- cgit v1.2.3