Skip to content

Commit

Permalink
remove unneeded console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
kenpachiii committed Sep 12, 2019
1 parent 2250a27 commit 4376ccd
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ class ServerlessCustomDomain {
/**
* Lifecycle function to setup API mappings for HTTP and websocket endpoints
*/

// FIXME: edit to handle going from a valued apiMappingKey to an empty key
public async propogateMappings(): Promise<void> {
const iterator = this.domains.entries();
const successful = new Map();
Expand All @@ -179,7 +179,7 @@ class ServerlessCustomDomain {
if (domainInfo.enabled) {

const apiId = await this.getApiId(domainInfo);
this.serverless.cli.log(apiId);

const mapping = await this.getMapping(apiId, domainInfo);

if (!mapping) {
Expand Down Expand Up @@ -646,8 +646,6 @@ class ServerlessCustomDomain {
} else {
params.LogicalResourceId = "WebsocketsApi";
}
const str = JSON.stringify(params, null, 4);
this.serverless.cli.log(str);

let response;
try {
Expand Down

0 comments on commit 4376ccd

Please sign in to comment.