Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow compatible CLIs to generate summary symbols file #3658

Merged
merged 1 commit into from
Jul 12, 2024

Conversation

nickrolfe
Copy link
Contributor

This should be much faster than generating it in the extension.

No change-note since this should be a seamless change.

@nickrolfe nickrolfe marked this pull request as ready for review July 8, 2024 17:31
@nickrolfe nickrolfe requested a review from a team as a code owner July 8, 2024 17:31
@nickrolfe nickrolfe requested a review from a team July 11, 2024 09:30
Copy link
Contributor

@aeisenberg aeisenberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM (you can take or leave my suggestion)

Comment on lines 1220 to 1226
]
.concat(
supportsGenerateSummarySymbolMap
? ["--summary-symbol-map", "--minify-output"]
: [],
)
.concat([inputPath, outputPath]);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this easier to read?

Suggested change
]
.concat(
supportsGenerateSummarySymbolMap
? ["--summary-symbol-map", "--minify-output"]
: [],
)
.concat([inputPath, outputPath]);
...(supportsGenerateSummarySymbolMap
? ["--summary-symbol-map", "--minify-output"]
: []),
inputPath,
outputPath
]

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I suspected there was a better way of doing it, but I just wasn't aware of the ... operator.

This should be much faster than generating it in the extension.
@nickrolfe nickrolfe merged commit 459d606 into main Jul 12, 2024
30 checks passed
@nickrolfe nickrolfe deleted the nickrolfe/summary-symbols branch July 12, 2024 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants