mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-04-06 22:39:46 +08:00
[command] Small cleanup.
This commit is contained in:
@@ -116,17 +116,7 @@ module Motion; module Project
|
||||
end
|
||||
|
||||
#def self.report_error(exception)
|
||||
#if exception.is_a?(Interrupt)
|
||||
#puts "[!] Cancelled".red
|
||||
#Config.instance.verbose? ? raise : exit(1)
|
||||
#else
|
||||
#if ENV['COCOA_PODS_ENV'] != 'development'
|
||||
#puts UI::ErrorReport.report(exception)
|
||||
#exit 1
|
||||
#else
|
||||
#raise exception
|
||||
#end
|
||||
#end
|
||||
# TODO in case we ever want to report expections.
|
||||
#end
|
||||
|
||||
protected
|
||||
|
||||
Reference in New Issue
Block a user