Skip to content

Commit

Permalink
Fix windows auto-update
Browse files Browse the repository at this point in the history
  • Loading branch information
SamyPesse committed Feb 15, 2016
1 parent 3709c72 commit 465bce4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/backends/backend.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,10 @@ Backend.prototype.getAssetStream = function(asset) {

// Return stream for an asset
Backend.prototype.readAsset = function(asset) {
return this.getAssetStream()
.then(function(stream) {
return this.getAssetStream(asset)
.then(function(res) {
var d = Q.defer();
var output = Buffer([]);
var res = streamAsset(uri);

function cleanup() {
destroy(res);
Expand Down

0 comments on commit 465bce4

Please # to comment.