Skip to content

Commit

Permalink
Merge pull request #1 from aforty/patch-1
Browse files Browse the repository at this point in the history
set `file` to /tmp/envfile path instead of content
  • Loading branch information
jehartzog authored Jun 1, 2018
2 parents 4a3678e + ccf54fd commit f1c7657
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/ReactNativeConfig/BuildDotenvConfig.ruby
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ defaultEnvFile = ".env"
# pick a custom env file if set
if File.exists?("/tmp/envfile")
custom_env = true
file = File.read("/tmp/envfile").strip
file = "/tmp/envfile"
else
custom_env = false
file = ENV["ENVFILE"] || defaultEnvFile
Expand Down

0 comments on commit f1c7657

Please sign in to comment.