pantograph/lib/pantograph/helper/gradle_helper.rb in pantograph-0.1.12 vs pantograph/lib/pantograph/helper/gradle_helper.rb in pantograph-0.1.13

- old
+ new

@@ -24,12 +24,11 @@ def initialize(gradle_path: nil) self.gradle_path = gradle_path end # Run a certain action - def trigger(task: nil, flags: nil, serial: nil, print_command: true, print_command_output: true) - android_serial = (serial != "") ? "ANDROID_SERIAL=#{serial}" : nil - command = [android_serial, escaped_gradle_path, task, flags].compact.join(" ") + def trigger(task: nil, flags: nil, print_command: true, print_command_output: true) + command = [escaped_gradle_path, task, flags].compact.join(" ") Action.sh(command, print_command: print_command, print_command_output: print_command_output) end def task_available?(task) load_all_tasks