-
Notifications
You must be signed in to change notification settings - Fork 64.8k
fixed find-unused-variable.ts typo #41615
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
base: main
Are you sure you want to change the base?
fixed find-unused-variable.ts typo #41615
Conversation
How to review these changes 👓Thank you for your contribution. To review these changes, choose one of the following options: A Hubber will need to deploy your changes internally to review. Table of review linksNote: Please update the URL for your staging server or codespace. This pull request contains code changes, so we will not generate a table of review links. 🤖 This comment is automatically generated. |
|
👋 Hey there spelunker. It looks like you've modified some files that we can't accept as contributions:
You'll need to revert all of the files you changed that match that list using GitHub Desktop or The complete list of files we can't accept are:
We also can't accept contributions to files in the content directory with frontmatter |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR fixes a spelling error in a script filename, correcting "unsed" to "unused" in find-unused-variables.ts. The change ensures consistency and eliminates potential confusion for developers.
Key Changes:
- Renamed
src/content-linter/scripts/find-unsed-variables.tstofind-unused-variables.ts - Updated the npm script reference in
package.jsonto point to the corrected filename
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/content-linter/scripts/find-unused-variables.ts | File renamed with corrected spelling (no code changes) |
| package.json | Updated script path reference to use corrected filename |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
👋 Hey there spelunker. It looks like you've modified some files that we can't accept as contributions:
You'll need to revert all of the files you changed that match that list using GitHub Desktop or The complete list of files we can't accept are:
We also can't accept contributions to files in the content directory with frontmatter |
Fixed a typo in the filename
find-unsed-variables.tswhich contained "unsed" instead of "unused". This typo existed both in the filesystem and was referenced inpackage.json, causing potential confusion for developers working with this script.What's being changed (if available, include any code snippets, screenshots, or gifs):
File Renamed:
src/content-linter/scripts/find-unsed-variables.ts→src/content-linter/scripts/find-unused-variables.tsUpdated Reference in package.json (line 45):