Skip to content

Commit 40b2124

Browse files
author
Chris Raynor
committed
Merge pull request #23 from firebase/v1.0.5a
V1.0.5
2 parents 248bc07 + 6991be2 commit 40b2124

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

lib/upload.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,11 @@ module.exports = {
3838

3939
reader.addIgnoreRules(ignoreRules);
4040

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "firebase-tools",
33
"preferGlobal": true,
4-
"version": "1.0.4",
4+
"version": "1.0.5",
55
"description": "The Firebase Command Line Tools",
66
"keywords": [
77
"firebase"

0 commit comments

Comments
 (0)