Skip to content

Commit 674e320

Browse files
committed
Fix: prop-types double line and redux uninstall
* Prop-types installation displayed two Installing packages... messages * Redux uninstall prompted an installation * Removed commented easy-peasy
1 parent 31ac7e5 commit 674e320

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

cliModel/install-commands.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,5 +68,4 @@ module.exports = {
6868
uninstall: 'npm uninstall unstated-next'
6969
}
7070
}
71-
// easyPeasy: "npm install easy-peasy"
7271
}

cliRoutes/StateManagement/redux.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,15 @@ module.exports = class Redux {
6161
case 'NPM':
6262
customCMD.get(
6363
`${reduxObj.uninstall}`,
64-
'install',
64+
'uninstall',
6565
'Packages: redux & react-redux have been uninstalled successfully!'
6666
)
6767
break
6868

6969
case 'Yarn':
7070
customCMD.get(
7171
`${reduxObjYarn.uninstall}`,
72-
'install',
72+
'uninstall',
7373
'Packages: redux & react-redux have been uninstalled successfully!'
7474
)
7575
break

cliRoutes/propTypes.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ module.exports = class propTypes {
5252
'install',
5353
'Package: prop-types has been installed successfully! PropTypes Folder has been created!'
5454
)
55+
break
5556

5657
case 'Yarn':
5758
customCMD.get(

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,4 @@
7070
"lint-staged": "^9.2.0",
7171
"prettier-standard": "^9.1.1"
7272
}
73-
}
73+
}

0 commit comments

Comments
 (0)