]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
In customizer Gulp tasks, prevent build from failing if the form data JSON given... 8400/head
authorGeoff Kimball <geoff@zurb.com>
Tue, 29 Mar 2016 22:24:38 +0000 (15:24 -0700)
committerGeoff Kimball <geoff@zurb.com>
Tue, 29 Mar 2016 22:24:38 +0000 (15:24 -0700)
gulp/customizer.js

index 5a7e4d30605150a2f0fe68ae5ea55e04437f060d..e033244b58e529d36a323ebf3cbcf0fc1e0183fe 100644 (file)
@@ -35,7 +35,7 @@ gulp.task('customizer:loadConfig', function(done) {
 
     CUSTOMIZER_CONFIG = yaml(data.toString());
     MODULE_LIST = moduleList.modules;
-    VARIABLE_LIST = moduleList.variables;
+    VARIABLE_LIST = moduleList.variables || {};
     done();
   });
 });