lib/uffizzi/services/compose_file_service.rb in uffizzi-cli-0.11.3 vs lib/uffizzi/services/compose_file_service.rb in uffizzi-cli-0.11.4
- old
+ new
@@ -90,10 +90,10 @@
env_files_data
end
def parse_compose_content_to_object(compose_content)
begin
- compose_data = Psych.safe_load(compose_content)
+ compose_data = Psych.safe_load(compose_content, aliases: true)
rescue Psych::SyntaxError
Uffizzi.ui.say('Invalid compose file')
end
Uffizzi.ui.say('Unsupported compose file') if compose_data.nil?