From ce5685551d59114003bbca1fbe200aca684a5337 Mon Sep 17 00:00:00 2001 From: Tim Perry Date: Wed, 28 Jun 2017 18:30:50 +0200 Subject: [PATCH] Remove unused function --- build/actions/deploy.js | 12 +----------- lib/actions/deploy.coffee | 6 ------ 2 files changed, 1 insertion(+), 17 deletions(-) diff --git a/build/actions/deploy.js b/build/actions/deploy.js index 0efaccab..f8ad0341 100644 --- a/build/actions/deploy.js +++ b/build/actions/deploy.js @@ -1,5 +1,5 @@ // Generated by CoffeeScript 1.12.6 -var Promise, dockerUtils, formatImageName, getBuilderLogPushEndpoint, getBuilderPushEndpoint, getBundleInfo, parseInput, performUpload, showPushProgress, updatePushProgress, uploadLogs, uploadToPromise; +var Promise, dockerUtils, formatImageName, getBuilderLogPushEndpoint, getBuilderPushEndpoint, getBundleInfo, parseInput, performUpload, showPushProgress, uploadLogs, uploadToPromise; Promise = require('bluebird'); @@ -61,16 +61,6 @@ showPushProgress = function() { return progressBar; }; -updatePushProgress = function(percentage, eta, progressBar) { - if (percentage >= 100) { - percentage = 100; - } - return progressBar.update({ - percentage: percentage, - eta: eta - }); -}; - getBundleInfo = function(options) { var helpers; helpers = require('../utils/helpers'); diff --git a/lib/actions/deploy.coffee b/lib/actions/deploy.coffee index d4d7c747..5750dd11 100644 --- a/lib/actions/deploy.coffee +++ b/lib/actions/deploy.coffee @@ -37,12 +37,6 @@ showPushProgress = -> progressBar.update({ percentage: 0 }) return progressBar -updatePushProgress = (percentage, eta, progressBar) -> - if percentage >= 100 - percentage = 100 - - progressBar.update({ percentage, eta }) - getBundleInfo = (options) -> helpers = require('../utils/helpers')