@@ -1479,15 +1479,8 @@ namespace Bones {
1479
1479
1480
1480
do_action ('wpbones_console_deploy_before_build_assets ' , $ this , $ path );
1481
1481
1482
- // @deprecated
1483
- $ command = apply_filters (
1484
- 'wpbones_console_deploy_build_assets ' ,
1485
- 'yarn build '
1486
- );
1487
-
1488
1482
$ packageManager = $ this ->getAvailablePackageManager ();
1489
1483
1490
-
1491
1484
if ($ packageManager ) {
1492
1485
1493
1486
$ this ->info ("β
Found ' $ packageManager' as package manager " );
@@ -1497,7 +1490,7 @@ namespace Bones {
1497
1490
if (strtolower ($ answer ) === 'y ' ) {
1498
1491
$ this ->info ("π¦ Build for production by using ' {$ packageManager } run build' " );
1499
1492
shell_exec ("{$ packageManager } run build " );
1500
- $ this ->info ("β
Build assets successfully " );
1493
+ $ this ->info ("β
Built assets successfully " );
1501
1494
do_action ('wpbones_console_deploy_after_build_assets ' , $ this , $ path );
1502
1495
} else {
1503
1496
$ answer = $ this ->ask ("Enter the package manager to build assets (press RETURN to skip the build) " , '' );
@@ -1506,7 +1499,7 @@ namespace Bones {
1506
1499
} else {
1507
1500
$ this ->info ("π¦ Build for production by using ' {$ answer } run build' " );
1508
1501
shell_exec ("{$ answer } run build " );
1509
- $ this ->info ("β
Build assets successfully " );
1502
+ $ this ->info ("β
Built assets successfully " );
1510
1503
do_action ('wpbones_console_deploy_after_build_assets ' , $ this , $ path );
1511
1504
}
1512
1505
}
@@ -1569,7 +1562,7 @@ namespace Bones {
1569
1562
*/
1570
1563
do_action ('wpbones_console_deploy_completed ' , $ this , $ path );
1571
1564
1572
- $ this ->info ("\n\e[5mπ Deploy Completed ! \e[0m " );
1565
+ $ this ->info ("\n\e[5mπ Deploy completed ! \e[0m " );
1573
1566
$ this ->info ("\nπ You can now deploy the plugin from the path: {$ path }\n" );
1574
1567
}
1575
1568
}
0 commit comments