mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-14 21:28:11 +02:00
const with for-of not actually ok in all version of node 4
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user