Skip to content

Commit

Permalink
Move spaces for "complete" message to logger
Browse files Browse the repository at this point in the history
  • Loading branch information
Gawdl3y committed Sep 2, 2014
1 parent 0976c67 commit f60e469
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/Logger.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class Logger
else
msg = @showInPanel message, "text-info"
()=>
endMsg = "Complete (#{Date.now() - startTime}ms)"
endMsg = " Complete (#{Date.now() - startTime}ms)"
msg.append endMsg
@panel.setSummary
summary: "#{message} #{endMsg}"
Expand Down
4 changes: 2 additions & 2 deletions lib/transports/FtpTransport.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class ScpTransport
@_getConnection (err, c) =>
return errorHandler err if err

end = @logger.log "Upload: #{localFilePath} to #{targetFilePath} ... "
end = @logger.log "Upload: #{localFilePath} to #{targetFilePath} ..."

c.mkdir path.dirname(targetFilePath), true, (err) =>
return errorHandler err if err
Expand All @@ -50,7 +50,7 @@ class ScpTransport
@_getConnection (err, c) =>
return errorHandler err if err

end = @logger.log "Download: #{targetFilePath} to #{localFilePath}"
end = @logger.log "Download: #{targetFilePath} to #{localFilePath} ..."

mkdirp = require "mkdirp" if not mkdirp
mkdirp path.dirname(localFilePath), (err) =>
Expand Down
4 changes: 2 additions & 2 deletions lib/transports/ScpTransport.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class ScpTransport
@_getConnection (err, c) =>
return errorHandler err if err

end = @logger.log "Upload: #{localFilePath} to #{targetFilePath} ... "
end = @logger.log "Upload: #{localFilePath} to #{targetFilePath} ..."

c.sftp (err, sftp) =>
return errorHandler err if err
Expand Down Expand Up @@ -53,7 +53,7 @@ class ScpTransport
@_getConnection (err, c) =>
return errorHandler err if err

end = @logger.log "Download: #{targetFilePath} to #{localFilePath} ... "
end = @logger.log "Download: #{targetFilePath} to #{localFilePath} ..."

c.sftp (err, sftp) =>
return errorHandler err if err
Expand Down

0 comments on commit f60e469

Please sign in to comment.