Skip to content

Commit

Permalink
Fixed Typo in File Deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
yanukadeneth99 committed Feb 8, 2023
1 parent 18a59e8 commit 70f3fc2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions bin/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,10 @@ else {
if (platform == "win32") {
// Removing Rainbowkit App and Package
const removeWagPackage = runCommand(
`cd ${repoName}/frontend && del package-rain.json`
`cd ${repoName}/frontend && del packageRain.json`
);
const removeWagApp = runCommand(
`cd ${repoName}/frontend/pages && del _app-rain.jsx`
`cd ${repoName}/frontend/pages && del _app.jsx`
);
if (!removeWagApp && !removeWagPackage) process.exit(1);
}
Expand All @@ -106,11 +106,11 @@ else {
else {
// Removing Rainbowkit App and Package
const removeWagPackage = runCommand(
`cd ${repoName}/frontend && rm -fv package-rain.json`
`cd ${repoName}/frontend && rm -fv packageRain.json`
);
// Changing App File
const removeWagApp = runCommand(
`cd ${repoName}/frontend/pages && rm -fv _app-rain.jsx`
`cd ${repoName}/frontend/pages && rm -fv _app.jsx`
);
if (!removeWagApp && !removeWagPackage) process.exit(1);
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@startertemp/nextjs-hardhat",
"version": "1.1.4",
"version": "1.1.5",
"bin": "./bin/cli.js",
"description": "A Starter Template for Next JS, with Hardhat(Solidity) Javascript backend.",
"repository": {
Expand Down

0 comments on commit 70f3fc2

Please sign in to comment.