Skip to content

Commit

Permalink
Refactor destructure
Browse files Browse the repository at this point in the history
(cherry picked from commit fbfeb3c)
  • Loading branch information
taylortom committed Apr 7, 2022
1 parent 836409f commit 967affe
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions lib/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -324,12 +324,11 @@ Origin.prototype.createServer = function (options, cb) {
Origin.prototype.startServer = function (options) {
var app = this;

options = { ...{
skipDependencyCheck: false,
options = {
skipVersionCheck: false,
skipStartLog: false
}, ...options };

skipStartLog: false,
...options
};
checkPrerequisites(options, function(err, result) {
if(err) {
logger.log('error', chalk.red(err.message));
Expand Down

0 comments on commit 967affe

Please sign in to comment.