mod-build 3.6.79-beta.2 → 3.6.79

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -69,9 +69,13 @@ module.exports = function(gulp, gulpPlugins, siteSettings, siteData) {
69
69
  },
70
70
  // Check if it is an array
71
71
  {
72
- name: 'isArrayOfObjects',
73
- fn: function(expression) {
74
- return Array.isArray(expression);
72
+ name: 'isArray',
73
+ fn: function(expression, options) {
74
+ if (Array.isArray(expression)) {
75
+ return options.fn(expression);
76
+ } else {
77
+ return options.inverse(expression);
78
+ }
75
79
  }
76
80
  },
77
81
  // Reverse array
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mod-build",
3
- "version": "3.6.79-beta.2",
3
+ "version": "3.6.79",
4
4
  "description": "Share components for S3 sites.",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",