We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bc4872 commit d809684Copy full SHA for d809684
README.md
@@ -22,7 +22,7 @@ var archiver = require('archiver');
22
// create a file to stream archive data to.
23
var output = fs.createWriteStream(__dirname + '/example.zip');
24
var archive = archiver('zip', {
25
- zlib: { level: 9 } // Sets the compression level.
+ zlib: { level: 9 } // Sets the compression level.
26
});
27
28
// listen for all archive data to be written
@@ -42,10 +42,10 @@ output.on('end', function() {
42
// good practice to catch warnings (ie stat failures and other non-blocking errors)
43
archive.on('warning', function(err) {
44
if (err.code === 'ENOENT') {
45
- // log warning
+ // log warning
46
} else {
47
- // throw error
48
- throw err;
+ // throw error
+ throw err;
49
}
50
51
0 commit comments