diff --git a/scripts/postlink/run.js b/scripts/postlink/run.js index fbc1139ef..967ed2ef3 100644 --- a/scripts/postlink/run.js +++ b/scripts/postlink/run.js @@ -4,7 +4,7 @@ var postlinks = [ ]; //run them sequentially -var result = postlinks +postlinks .reduce((p, fn) => p.then(fn), Promise.resolve()) .catch((err) => { console.error(err.message);