From 7edef9ef67365211fd3420a64c98f860e3d48673 Mon Sep 17 00:00:00 2001 From: Bryan Housel Date: Thu, 1 Dec 2016 21:52:35 -0500 Subject: [PATCH] const with for-of not actually ok in all version of node 4 --- build.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.js b/build.js index 5551318e2..2c925ea6f 100644 --- a/build.js +++ b/build.js @@ -22,7 +22,7 @@ const symlinks = { 'test/img': '../dist/img' }; -for (const target of Object.keys(symlinks)) { +for (var target of Object.keys(symlinks)) { if (!shell.test('-L', target)) { console.log(`Creating symlink: ${target} -> ${symlinks[target]}`); shell.ln('-sf', symlinks[target], target);