Skip to content

Commit 63bdc3a

Browse files
author
Akila Tennakoon
committed
Replace JSON.stringify
1 parent ef87c43 commit 63bdc3a

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

packages/core/src/awsService/cloudformation/lsp-server/githubManifestAdapter.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,9 @@ export class GitHubManifestAdapter {
2424
const versions = dedupeAndGetLatestVersions(sortedReleases.map((release) => this.convertRelease(release)))
2525
getLogger('awsCfnLsp').info(
2626
'Candidate versions: %s',
27-
JSON.stringify(
28-
versions.map((v) => ({
29-
serverVersion: v.serverVersion,
30-
targets: v.targets.map((t) => `${t.platform}-${t.arch}`),
31-
}))
32-
)
27+
versions
28+
.map((v) => `${v.serverVersion}[${v.targets.map((t) => `${t.platform}-${t.arch}`).join(',')}]`)
29+
.join(', ')
3330
)
3431
return {
3532
manifestSchemaVersion: '1.0',

0 commit comments

Comments
 (0)