Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into 0.5.4-no-jsdom
Browse files Browse the repository at this point in the history
* origin/master:
  fix edge case with non existing options.core
  • Loading branch information
robhrt7 committed Aug 15, 2015
2 parents 1b693b7 + ee85011 commit eefcd8f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/loadOptions.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ var legacyOptionsChecker = function(options, fileName){
var haveCommon = options.core && options.core.common;

// Server options
options.core = options.core || {};
options.core.server = options.core.server || {};
if (haveCommon && options.core.common.port) {
if (!silent) legacyOptionsWarn('options.core.common.port', 'options.core.server.port', fileName);
Expand Down

0 comments on commit eefcd8f

Please sign in to comment.