From 02711b766e7bac5ecdfdcbc26417cb3256e8e897 Mon Sep 17 00:00:00 2001 From: Geoff Kimball Date: Tue, 29 Mar 2016 15:24:38 -0700 Subject: [PATCH] In customizer Gulp tasks, prevent build from failing if the form data JSON given is missing the variables key --- gulp/customizer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulp/customizer.js b/gulp/customizer.js index 5a7e4d306..e033244b5 100644 --- a/gulp/customizer.js +++ b/gulp/customizer.js @@ -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(); }); }); -- 2.47.2