const with for-of not actually ok in all version of node 4

This commit is contained in:
Bryan Housel
2016-12-01 21:52:35 -05:00
parent d955b3c626
commit 7edef9ef67
+1 -1
View File
@@ -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);