diff --git a/lib/commands/deploy_api.js b/lib/commands/deploy_api.js index bf31f7fb3..68010b8bd 100644 --- a/lib/commands/deploy_api.js +++ b/lib/commands/deploy_api.js @@ -521,7 +521,7 @@ ApiDeployer.prototype._createEndpointMethodResponses = Promise.method(function(e + ': created method response for the path: ' + endpoint.endpoint.path); }) - .catch(function (error) { + .catch(function(error) { throw new JawsError( error.message, JawsError.errorCodes.UNKNOWN); @@ -539,7 +539,7 @@ ApiDeployer.prototype._createEndpointMethodIntegResponses = Promise.method(funct var _this = this; - return Promise.try(function () { + return Promise.try(function() { // Collect Response Keys if (endpoint.endpoint.responses) return Object.keys(endpoint.endpoint.responses); @@ -613,7 +613,7 @@ module.exports = function(JAWS) { * @param stage * @returns {bluebird|exports|module.exports} */ - JAWS.deployApi = function (stage, region, allTagged) { + JAWS.deployApi = function(stage, region, allTagged) { return new Promise(function(resolve, reject) { // Check stage exists @@ -679,4 +679,3 @@ module.exports = function(JAWS) { }); }; }; -