Skip to content

Commit

Permalink
chore: fix alignment for dd-service catalog message
Browse files Browse the repository at this point in the history
  • Loading branch information
jeisson-clickup committed Oct 23, 2023
1 parent 29cd753 commit 331e3dd
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 67 deletions.
14 changes: 7 additions & 7 deletions src/datadog-service-catalog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,21 +164,21 @@ export module datadogServiceCatalog {

const contacts = `${options.contacts?.map(
(contact) => `
- type: ${contact.type}
contact: ${contact.contact}
name: ${contact.name}`,
- type: ${contact.type}
contact: ${contact.contact}
name: ${contact.name}`,
)}`;

const links = `${options.links?.map(
(link) => `
- type: ${link.type}
url: ${link.url}
name: ${link.name}`,
- type: ${link.type}
url: ${link.url}
name: ${link.name}`,
)}`;

const tags = `${Object.keys(serviceTags).map(
(key) => `
- ${key}:${serviceTags[key]}`,
- ${key}:${serviceTags[key]}`,
)}`;

const step: JobStep = {
Expand Down
64 changes: 32 additions & 32 deletions test/__snapshots__/clickup-cdk.test.ts.snap

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

56 changes: 28 additions & 28 deletions test/__snapshots__/datadog-service-catalog.test.ts.snap

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 331e3dd

Please sign in to comment.