Skip to content
This repository has been archived by the owner on Nov 19, 2018. It is now read-only.

Commit

Permalink
Fixed 'hide_transporter_output' not working
Browse files Browse the repository at this point in the history
  • Loading branch information
KrauseFx committed Nov 17, 2014
1 parent b47fc9c commit f214953
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ end
#### Hide the iTunes Transporter log
By default, the transporter log is shown, to be fully transparent. If you prefer to hide it, you can use the following option in your ```Deliverfile``` to disable it for both the upload and the download of metadata:
```ruby
hide_transporter_log
hide_transporter_output
```

##### What is the ```Deliverfile```?
Expand Down
2 changes: 1 addition & 1 deletion lib/deliver/deliverfile/dsl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def email(value)
end

# This will hide the output of the iTunes Connect transporter while uploading/downloading
def hide_transporter_log
def hide_transporter_output
ItunesTransporter.hide_transporter_output
end

Expand Down
4 changes: 2 additions & 2 deletions lib/deliver/itunes_transporter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ def execute_transporter(command)
if defined?@@hide_transporter_output
# Show a one time message instead
Helper.log.info "Waiting for iTunes Connect transpoter to be finished.".green
Helper.log.info "If you want upload/download logs to be enabled, remove 'hide_transporter_log' from your Deliverfile."
Helper.log.info "In progress...".green
Helper.log.info "If you want upload/download logs to be enabled, remove 'hide_transporter_output' from your Deliverfile."
Helper.log.info "iTunes Transporter progress...".green
end

begin
Expand Down

0 comments on commit f214953

Please sign in to comment.