File tree Expand file tree Collapse file tree 3 files changed +12
-12
lines changed Expand file tree Collapse file tree 3 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -30,23 +30,23 @@ task("cleanNestJs") {
3030
3131task(" buildNestJs" ) {
3232 if (project.hasProperty(" withNestJs" )) {
33- exec {
33+ providers. exec {
3434 logger.info(" Task buildNestJs - npm install" )
3535 workingDir(" src/nestjs" )
3636 if (System .getProperty(" os.name" ).uppercase().contains(" WINDOWS" )) {
3737 commandLine(" npm.cmd" , " install" )
3838 } else {
3939 commandLine(" npm" , " install" )
4040 }
41- }
42- exec {
41+ }.result.get()
42+ providers. exec {
4343 logger.info(" Task buildNestJs - npm run build" )
4444 workingDir(" src/nestjs" )
4545 if (System .getProperty(" os.name" ).uppercase().contains(" WINDOWS" )) {
4646 commandLine(" npm.cmd" , " run" , " build" )
4747 } else {
4848 commandLine(" npm" , " run" , " build" )
4949 }
50- }
50+ }.result.get()
5151 }
5252}
Original file line number Diff line number Diff line change @@ -41,23 +41,23 @@ task("cleanAngular") {
4141
4242task(" buildAngular" ) {
4343 if (project.hasProperty(" withAngular" )) {
44- exec {
44+ providers. exec {
4545 logger.info(" Task buildAngular - npm install" )
4646 workingDir (" src/angular" )
4747 if (System .getProperty(" os.name" ).uppercase().contains(" WINDOWS" )){
4848 commandLine(" npm.cmd" , " install" )
4949 } else {
5050 commandLine(" npm" , " install" )
5151 }
52- }
53- exec {
52+ }.result.get()
53+ providers. exec {
5454 logger.info(" Task buildAngular - npm run build" )
5555 workingDir(" src/angular" )
5656 if (System .getProperty(" os.name" ).uppercase().contains(" WINDOWS" )){
5757 commandLine(" npm.cmd" , " run" , " build" )
5858 } else {
5959 commandLine(" npm" , " run" , " build" )
6060 }
61- }
61+ }.result.get()
6262 }
6363}
Original file line number Diff line number Diff line change @@ -41,23 +41,23 @@ task("cleanAngular") {
4141
4242task(" buildAngular" ) {
4343 if (project.hasProperty(" withAngular" )) {
44- exec {
44+ providers. exec {
4545 logger.info(" Task buildAngular - npm install" )
4646 workingDir (" src/angular" )
4747 if (System .getProperty(" os.name" ).uppercase().contains(" WINDOWS" )){
4848 commandLine(" npm.cmd" , " install" )
4949 } else {
5050 commandLine(" npm" , " install" )
5151 }
52- }
53- exec {
52+ }.result.get()
53+ providers. exec {
5454 logger.info(" Task buildAngular - npm run build" )
5555 workingDir(" src/angular" )
5656 if (System .getProperty(" os.name" ).uppercase().contains(" WINDOWS" )){
5757 commandLine(" npm.cmd" , " run" , " build" )
5858 } else {
5959 commandLine(" npm" , " run" , " build" )
6060 }
61- }
61+ }.result.get()
6262 }
6363}
You can’t perform that action at this time.
0 commit comments