diff --git a/bin/deploy.js b/bin/deploy.js index 84fbc121a..733929d43 100755 --- a/bin/deploy.js +++ b/bin/deploy.js @@ -59,7 +59,7 @@ for (var key in contents) { var orderArray = [] - for (var i = group.pages.length i > 0 i--) { + for (var i = group.pages.length; i > 0; i--) { orderArray.push(i) }