Remove unused code

This commit is contained in:
Akis Kesoglou 2018-03-20 12:39:32 +02:00
parent 066ac591ac
commit a356ecf9b6

View File

@ -10,9 +10,6 @@ getBuilderLogPushEndpoint = (baseUrl, buildId, owner, app) ->
args = querystring.stringify({ owner, app, buildId })
"https://builder.#{baseUrl}/v1/pushLogs?#{args}"
formatImageName = (image) ->
image.split('/').pop()
bufferImage = (docker, imageId, bufferFile) ->
Promise = require('bluebird')
streamUtils = require('./streams')
@ -25,10 +22,6 @@ bufferImage = (docker, imageId, bufferFile) ->
.tap (bufferedStream) ->
bufferedStream.length = imageSize
getSpinner = (message) ->
visuals = require('resin-cli-visuals')
return new visuals.Spinner(message)
showPushProgress = (message) ->
visuals = require('resin-cli-visuals')
progressBar = new visuals.Progress(message)
@ -114,7 +107,6 @@ opts must be a hash with the following keys:
- shouldUploadLogs
###
module.exports = (docker, logger, token, username, url, opts) ->
_ = require('lodash')
tmp = require('tmp')
tmpNameAsync = Promise.promisify(tmp.tmpName)