Skip to content

Commit

Permalink
Merge pull request #23 from firebase/v1.0.5a
Browse files Browse the repository at this point in the history
V1.0.5
  • Loading branch information
Chris Raynor committed Jun 5, 2014
2 parents 248bc07 + 6991be2 commit 40b2124
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion lib/upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,11 @@ module.exports = {

reader.addIgnoreRules(ignoreRules);

reader.pipe(tar.Pack())
reader.on('error', function(err) {
console.log(chalk.red('READ ERROR') + ' - Could not read directory. Remove' +
' symbolic links / shortcuts and try again.');
process.exit(1);
}).pipe(tar.Pack())
.pipe(zlib.createGzip())
.pipe(writeStream);

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "firebase-tools",
"preferGlobal": true,
"version": "1.0.4",
"version": "1.0.5",
"description": "The Firebase Command Line Tools",
"keywords": [
"firebase"
Expand Down

0 comments on commit 40b2124

Please sign in to comment.