From bc0ae84eb111fb067200719d9a5ad4b877e44e3c Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 1 Feb 2023 13:20:47 +0100 Subject: [PATCH] Needn't pass existing ENVs either --- lib/mrsk/commands/accessory.rb | 1 - lib/mrsk/commands/app.rb | 2 -- 2 files changed, 3 deletions(-) diff --git a/lib/mrsk/commands/accessory.rb b/lib/mrsk/commands/accessory.rb index df60e241..0f8b0e9c 100644 --- a/lib/mrsk/commands/accessory.rb +++ b/lib/mrsk/commands/accessory.rb @@ -49,7 +49,6 @@ class Mrsk::Commands::Accessory < Mrsk::Commands::Base def exec(*command, interactive: false) docker :exec, ("-it" if interactive), - *env_args, service_name, *command end diff --git a/lib/mrsk/commands/app.rb b/lib/mrsk/commands/app.rb index a5301e94..db36c00a 100644 --- a/lib/mrsk/commands/app.rb +++ b/lib/mrsk/commands/app.rb @@ -42,8 +42,6 @@ class Mrsk::Commands::App < Mrsk::Commands::Base def exec(*command, interactive: false) docker :exec, ("-it" if interactive), - *rails_master_key_arg, - *config.env_args, config.service_with_version, *command end