lib/lamby/ssm_parameter_store.rb in lamby-2.5.1 vs lib/lamby/ssm_parameter_store.rb in lamby-2.5.2
- old
+ new
@@ -38,10 +38,10 @@
overwrite ? ENV[param.env] = param.value : ENV[param.env] ||= param.value
end
end
def to_dotenv
- File.open(dotenv_file, 'w') { |f| f.write(dotenv_contents) }
+ File.open(dotenv_file, 'a') { |f| f.write(dotenv_contents) }
end
def get!
get_all!
get_history! unless label.to_s.empty?