From df5b252fa7ccb1168478c0816e820a35a1eb14e1 Mon Sep 17 00:00:00 2001 From: Fire Demon Date: Mon, 17 Aug 2020 22:47:40 -0500 Subject: [Bug, Command Tags] Shift arguments when passing "i am"/"we are" alias to "footer" handler --- app/lib/command_tag/command/footer_tools.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/lib') diff --git a/app/lib/command_tag/command/footer_tools.rb b/app/lib/command_tag/command/footer_tools.rb index f2ee39ffa..5ef39fe4a 100644 --- a/app/lib/command_tag/command/footer_tools.rb +++ b/app/lib/command_tag/command/footer_tools.rb @@ -37,7 +37,7 @@ module CommandTag::Command::FooterTools def handle_i_before_save(args) return if args.blank? - handle_footer_before_save(args.unshift) if %w(am are).include?(normalize(args[0])) + handle_footer_before_save(args[1..-1]) if %w(am are).include?(normalize(args[0])) end alias handle_we_before_save handle_i_before_save -- cgit