From aec902e9646922ed09fecc33dab3b57badce601e Mon Sep 17 00:00:00 2001 From: Bohung Date: Tue, 13 Jul 2021 19:39:43 +0800 Subject: [PATCH] Fix bug. --- announcement.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/announcement.gemspec b/announcement.gemspec index 7c9898f..5f376e8 100644 --- a/announcement.gemspec +++ b/announcement.gemspec @@ -6,10 +6,10 @@ require "announcement/version" require 'json' bundle_update_flag = ARGV[0]=='update' || ARGV[0]=='install' if bundle_update_flag + env_pwd = ENV['PWD'] if File.exist?("#{env_pwd}/app/models/google.rb") system("rm -f #{env_pwd}/app/models/google.rb") end - env_pwd = ENV['PWD'] app_path = File.expand_path(__dir__) template_path = env_pwd + '/app/templates' all_template = Dir.glob(template_path+'/*/')