Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit 56ed772

Browse files
authored
fix(zipper): add ‘use strict’ to exampleZipper.js (#3327)
To beat error “SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode”
1 parent 4738230 commit 56ed772

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/example-zipper/exampleZipper.js

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
'use strict';
2+
13
// Canonical path provides a consistent path (i.e. always forward slashes) across different OSes
24
var path = require('canonical-path');
35
var jsonfile = require('jsonfile');

0 commit comments

Comments
 (0)