From 3c518cae6aa587a365844c1c267eaf7e310c3d74 Mon Sep 17 00:00:00 2001 From: BOHUNG Date: Mon, 13 Jan 2020 15:19:30 +0800 Subject: [PATCH] test --- patchfile.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patchfile.gemspec b/patchfile.gemspec index 0277595..e0f1cb2 100644 --- a/patchfile.gemspec +++ b/patchfile.gemspec @@ -21,7 +21,7 @@ Dir.chdir(ENV['PWD']+'/app/views/shared') do @file_text.insert(@indert_index , @patchfile_li_choices) end if !@file_text.include?('patchfile_li') - @indert_index = @file_text.index('') + @indert_index = @file_text.index('
  • ') @file_text.insert(@indert_index , @patchfile_li_choices) end f = File.open('_side_bar.html.erb','w')