This commit is contained in:
Michael Bleigh
2015-10-19 10:48:44 -07:00
parent d4f3739b70
commit ea1a236be7

View File

@@ -41,7 +41,7 @@ Config.LEGACY_HOSTING_KEYS = ['public', 'rewrites', 'redirects', 'headers', 'ign
Config.prototype.importLegacyKeys = function() {
Config.LEGACY_HOSTING_KEYS.forEach(function(key) {
if (this._src[key]) {
if (_.has(this._src, key)) {
this.set('hosting.' + key, this._src[key]);
}
}, this);