Permalink
Browse files

removed --multi option... filename is sufficient

  • Loading branch information...
1 parent f5f31d6 commit 773362be2065b32d6074a9ea56ee174926d17f1b @joelvh committed Jun 11, 2012
Showing with 1 addition and 4 deletions.
  1. +0 −2 init.rb
  2. +1 −2 lib/config/heroku/command/config.rb
View
@@ -3,6 +3,4 @@
if Heroku::VERSION >= "2.0"
# specify a specific filename to use
Heroku::Command.global_option :filename, "--filename FILENAME"
- # option to use an .env file per app (e.g. heroku-app-name.env)
- Heroku::Command.global_option :multi, "--multi", "-m"
end
@@ -42,8 +42,7 @@ def push
def filename
name = extract_option("--filename", nil)
- return name unless name.nil?
- return "#{app}.env" if extract_option("--multi")
+ return name unless name.nil? || name.empty?
".env"
end

0 comments on commit 773362b

Please sign in to comment.