Skip to content

Commit d809684

Browse files
Kelly Seldenctalkington
authored andcommitted
consistent indentation (#294)
1 parent 0bc4872 commit d809684

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ var archiver = require('archiver');
2222
// create a file to stream archive data to.
2323
var output = fs.createWriteStream(__dirname + '/example.zip');
2424
var archive = archiver('zip', {
25-
zlib: { level: 9 } // Sets the compression level.
25+
zlib: { level: 9 } // Sets the compression level.
2626
});
2727

2828
// listen for all archive data to be written
@@ -42,10 +42,10 @@ output.on('end', function() {
4242
// good practice to catch warnings (ie stat failures and other non-blocking errors)
4343
archive.on('warning', function(err) {
4444
if (err.code === 'ENOENT') {
45-
// log warning
45+
// log warning
4646
} else {
47-
// throw error
48-
throw err;
47+
// throw error
48+
throw err;
4949
}
5050
});
5151

0 commit comments

Comments
 (0)