Skip to content
This repository has been archived by the owner on Jan 29, 2025. It is now read-only.

Commit

Permalink
Rename variable
Browse files Browse the repository at this point in the history
  • Loading branch information
esotericenderman committed Sep 8, 2024
1 parent 1033fd5 commit 99c176f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/rename-project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ const commandLineArguments = process.argv.slice(2);
*
* Where `new-project-name` is replaced with the desired plugin name, in [kebab-case](https://developer.mozilla.org/en-US/docs/Glossary/Kebab_case) format.
**/
const projectName = commandLineArguments[0]; // npm run rename-project -- new-project-name
const newProjectName = commandLineArguments[0]; // npm run rename-project -- new-project-name

if (!projectName) {
if (!newProjectName) {
console.error("A project name must be specified");
console.error("Please use the following command:");
console.error("npm run rename-project -- new-project-name");
Expand Down

0 comments on commit 99c176f

Please sign in to comment.