Skip to content

Commit 65202ec

Browse files
authored
Merge pull request #43 from devisle/small-updates
Small fixes
2 parents 91c964f + f79eef9 commit 65202ec

File tree

5 files changed

+7
-16
lines changed

5 files changed

+7
-16
lines changed

.babelrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"ignore": [
88
"node_modules",
99
"store.js",
10-
"coverage"
10+
"coverage",
11+
"legacy"
1112
],
1213
"plugins": [
1314
"@babel/plugin-transform-regenerator",

.eslintignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
dist
22
coverage
3-
node_modules
3+
node_modules
4+
legacy

.prettierignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
dist
22
coverage
3-
node_modules
3+
node_modules
4+
legacy

cliRoutes/AccesibilityPackages/axe.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,6 @@ module.exports = class Reactaxe {
3636
case 'NPM':
3737
customCMD.get(
3838
`${reactaxeObj.install}`,
39-
(err, data, stderr) => {
40-
err ? console.log(err) : errorLogging(stderr, data)
41-
},
4239
'Install',
4340
'Package: react-axe has been installed successfully!'
4441
)
@@ -47,9 +44,6 @@ module.exports = class Reactaxe {
4744
case 'Yarn':
4845
customCMD.get(
4946
`${reactaxeObjYarn.install}`,
50-
(err, data, stderr) => {
51-
err ? console.log(err) : errorLogging(stderr, data)
52-
},
5347
'Install',
5448
'Package: react-axe has been installed successfully!'
5549
)
@@ -62,9 +56,6 @@ module.exports = class Reactaxe {
6256
case 'NPM':
6357
customCMD.get(
6458
`${reactaxeObj.uninstall}`,
65-
(err, data, stderr) => {
66-
err ? console.log(err) : errorLogging(stderr, data)
67-
},
6859
'uninstall',
6960
'Package: react-axe has been uninstalled successfully!'
7061
)
@@ -73,9 +64,6 @@ module.exports = class Reactaxe {
7364
case 'Yarn':
7465
customCMD.get(
7566
`${reactaxeObjYarn.uninstall}`,
76-
(err, data, stderr) => {
77-
err ? console.log(err) : errorLogging(stderr, data)
78-
},
7967
'uninstall',
8068
'Package: react-axe has been uninstalled successfully!'
8169
)

customNodeCMD/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Display custom message instead default node progress bar
3535
*/
3636

3737
function getCommand (command, installOrUninstall, finalCommand) {
38-
console.log(`${installOrUninstall}ling Packages...`)
38+
console.log(`${installOrUninstall}ing Packages...`)
3939
return new Promise((resolve, reject) => {
4040
const subproc = spawn(command, {
4141
stdio: 'inherit',

0 commit comments

Comments
 (0)