Skip to content

Ensure scripts compile, are checked in strict mode #49524

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

Merged
merged 1 commit into from
Jun 14, 2022

Conversation

jakebailey
Copy link
Member

While fixing something else, I noticed that the code in scripts doesn't compile (and also is not strict, so masked a missing dependency). Fix these.

I manually tested buildProtocol.ts, and it seems to still be correct. I assume that it used to be that passing no script target meant the latest, but if that's not the case, I can switch it.

@typescript-bot typescript-bot added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Jun 13, 2022
@jakebailey jakebailey changed the title Make scripts compile Ensure scripts compile, are checked in strict mode Jun 13, 2022
@@ -33,6 +33,7 @@
"@octokit/rest": "latest",
"@types/chai": "latest",
"@types/convert-source-map": "latest",
"@types/fs-extra": "^9.0.13",
Copy link
Member Author

Choose a reason for hiding this comment

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

Noticed this while cleaning up our dependencies, as I was hoping we could just use fs/promises instead (unfortunately not).

@jakebailey jakebailey requested review from amcasey and sandersn June 13, 2022 21:03
@sandersn sandersn added the Housekeeping Housekeeping PRs label Jun 14, 2022
@jakebailey jakebailey merged commit 884f5ac into microsoft:main Jun 14, 2022
@jakebailey jakebailey deleted the fix-scripts-compile branch June 14, 2022 23:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug Housekeeping Housekeeping PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants