From 56ed772b39b78c4ff406062ff502c8c8ada8d9c9 Mon Sep 17 00:00:00 2001 From: Ward Bell Date: Wed, 1 Mar 2017 14:53:23 -0800 Subject: [PATCH] =?UTF-8?q?fix(zipper):=20add=20=E2=80=98use=20strict?= =?UTF-8?q?=E2=80=99=20to=20exampleZipper.js=20(#3327)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To beat error “SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode” --- tools/example-zipper/exampleZipper.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/example-zipper/exampleZipper.js b/tools/example-zipper/exampleZipper.js index a92e45983a..4299ab8839 100644 --- a/tools/example-zipper/exampleZipper.js +++ b/tools/example-zipper/exampleZipper.js @@ -1,3 +1,5 @@ +'use strict'; + // Canonical path provides a consistent path (i.e. always forward slashes) across different OSes var path = require('canonical-path'); var jsonfile = require('jsonfile');