lib/bake/modernize.rb in bake-modernize-0.29.0 vs lib/bake/modernize.rb in bake-modernize-0.30.0

- old
+ new

@@ -1,14 +1,14 @@ # frozen_string_literal: true # Released under the MIT License. # Copyright, 2020-2024, by Samuel Williams. -require_relative 'modernize/license' -require_relative 'modernize/version' -require 'build/files/glob' -require 'fileutils' +require_relative "modernize/license" +require_relative "modernize/version" +require "build/files/glob" +require "fileutils" # @namespace module Bake # @namespace module Modernize @@ -33,10 +33,10 @@ # Copy files from the source path to the destination path. # # @parameter source_path [String] The source path. # @parameter destination_path [String] The destination path. def self.copy_template(source_path, destination_path) - glob = Build::Files::Glob.new(source_path, '**/*') + glob = Build::Files::Glob.new(source_path, "**/*") glob.each do |path| full_path = File.join(destination_path, path.relative_path) if File.directory?(path)