File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
cliRoutes/CustomPackageInstall Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -14,4 +14,5 @@ install: npm i
1414script :
1515 - npm run test
1616
17- after_success : echo "Success"
17+ branches :
18+ only : master
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ module.exports = class CustomPackageInstall {
2929 switch ( packageManager ) {
3030 case 'Yarn' :
3131 customCMD . get (
32- `${ createReactAppYarn } my-app && cd my-app && yarn add ${ packages . join (
32+ `${ createReactAppYarn } ${ folderName } && cd ${ folderName } && yarn add ${ packages . join (
3333 ' '
3434 ) } `,
3535 ( err , data , stderr ) => {
@@ -41,7 +41,7 @@ module.exports = class CustomPackageInstall {
4141
4242 case 'NPM' :
4343 customCMD . get (
44- `${ createReactApp } my-app && cd my-app && npm install --save ${ packages . join (
44+ `${ createReactApp } ${ folderName } && cd ${ folderName } && npm install --save ${ packages . join (
4545 ' '
4646 ) } `,
4747 ( err , data , stderr ) => {
You can’t perform that action at this time.
0 commit comments