Skip to content

Commit

Permalink
fix(slim bundles): fixes jshint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
HipsterBrown committed Oct 20, 2015
1 parent 3ef3ab9 commit 9c0d765
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions lib/tessel/deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ actions.tarBundle = function(opts) {
ignoreMissing: true
});
b.transform(uglify);
b.bundle(function (err, results) {
b.bundle(function(err, results) {
if (err) {
console.log('Error');
reject(err);
Expand All @@ -235,7 +235,7 @@ actions.tarBundle = function(opts) {
});

fstream.addIgnoreRules(['*', '!' + opts.slimPath]);

fstream.basename = '';
pack._noProprietary = true;

Expand All @@ -257,8 +257,8 @@ actions.tarBundle = function(opts) {

resolve(Buffer.concat(buffers));
});
}
})
}
});
});
} else {

Expand All @@ -279,7 +279,6 @@ actions.tarBundle = function(opts) {
// is the same level as the directory containing
// our program entry-point files.
fstream.on('entry', function(entry) {
console.log(entry.path);
entry.root = {
path: entry.path
};
Expand Down

0 comments on commit 9c0d765

Please sign in to comment.