mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-19 13:47:52 +00:00
Remove unused code
This commit is contained in:
parent
066ac591ac
commit
a356ecf9b6
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user