Skip to content

Commit

Permalink
fixes conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
sintaxi committed Apr 9, 2021
2 parents 6d62288 + 4007cda commit 878d9ca
Show file tree
Hide file tree
Showing 4 changed files with 140 additions and 85 deletions.
6 changes: 4 additions & 2 deletions lib/middleware/deploy.js
Expand Up @@ -76,7 +76,6 @@ module.exports = function(req, next){
//console.log("tick", tick.toString())

if (Object.keys(progress).length > 1) global.ponr = true

//try {

try {
Expand Down Expand Up @@ -251,7 +250,10 @@ module.exports = function(req, next){
: payload.file

// refresh view
progress[payload.id].update(payload.written / payload.total, { file: file })
if (!(payload.id === "cdn" && payload.end)){
progress[payload.id].update(payload.written / payload.total, { file: file })
}

} catch(e){
//console.log(e)
}
Expand Down
3 changes: 1 addition & 2 deletions lib/middleware/util/helpers.js
@@ -1,5 +1,4 @@
var prompt = require('prompt')

var colors = require("colors")
var request = require("request")
var localCreds = require("./creds.js")
var os = require('os')
Expand Down

0 comments on commit 878d9ca

Please sign in to comment.