Skip to content

Conversation

@Abhinavexists
Copy link

Fixed a typo in the filename find-unsed-variables.ts which contained "unsed" instead of "unused". This typo existed both in the filesystem and was referenced in package.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.tssrc/content-linter/scripts/find-unused-variables.ts

Updated Reference in package.json (line 45):

- "find-unused-variables": "tsx src/content-linter/scripts/find-unsed-variables.ts",
+ "find-unused-variables": "tsx src/content-linter/scripts/find-unused-variables.ts",

Copilot AI review requested due to automatic review settings December 1, 2025 09:48
@github-actions github-actions bot added the triage Do not begin working on this issue until triaged by the team label Dec 1, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Dec 1, 2025

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 links

Note: 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.

@github-actions
Copy link
Contributor

github-actions bot commented Dec 1, 2025

👋 Hey there spelunker. It looks like you've modified some files that we can't accept as contributions:

  • package.json
  • src/content-linter/scripts/find-unused-variables.ts
  • src/content-linter/scripts/find-unsed-variables.ts

You'll need to revert all of the files you changed that match that list using GitHub Desktop or git checkout origin/main <file name>. Once you get those files reverted, we can continue with the review process. :octocat:

The complete list of files we can't accept are:

  • .devcontainer/**
  • .github/**
  • data/reusables/rai/**
  • Dockerfile*
  • src/**
  • package*.json
  • content/actions/how-tos/security-for-github-actions/security-hardening-your-deployments/**

We also can't accept contributions to files in the content directory with frontmatter type: rai or contentType: rai.

Copilot finished reviewing on behalf of Abhinavexists December 1, 2025 09:49
Copy link
Contributor

Copilot AI left a 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.ts to find-unused-variables.ts
  • Updated the npm script reference in package.json to 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.

@github-actions
Copy link
Contributor

github-actions bot commented Dec 3, 2025

👋 Hey there spelunker. It looks like you've modified some files that we can't accept as contributions:

  • package.json
  • src/content-linter/scripts/find-unused-variables.ts
  • src/content-linter/scripts/find-unsed-variables.ts

You'll need to revert all of the files you changed that match that list using GitHub Desktop or git checkout origin/main <file name>. Once you get those files reverted, we can continue with the review process. :octocat:

The complete list of files we can't accept are:

  • .devcontainer/**
  • .github/**
  • data/reusables/rai/**
  • Dockerfile*
  • src/**
  • package*.json
  • content/actions/how-tos/security-for-github-actions/security-hardening-your-deployments/**

We also can't accept contributions to files in the content directory with frontmatter type: rai or contentType: rai.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

triage Do not begin working on this issue until triaged by the team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant