118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
|
# File 'lib/ufo/command.rb', line 118
def check_version_structure!
return if non_project_command?
return if File.exist?('.ufo/config.rb')
puts "ERROR: Latest ufo structure not detected".color(:red)
puts " It looks like this project .ufo files for an older ufo version.\n The old .ufo structure does not work with this version of ufo.\n\n Current Installed UFO Version: \#{Ufo::VERSION}\n\n Please update the .ufo structure.\n\n See: https://ufoships.com/docs/upgrading/upgrade6/\n EOL\n exit 1\nend\n"
|