File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ func GetInstalledNodeVersion() (string, error) {
1313 // Check if Node.js is installed
1414 nodePath , err := exec .LookPath ("node" )
1515 if err != nil {
16- return "" , fmt .Errorf ("Node .js is not installed: %w" , err )
16+ return "" , fmt .Errorf ("node .js is not installed: %w" , err )
1717 }
1818
1919 // Get the Node.js version
Original file line number Diff line number Diff line change @@ -36,13 +36,13 @@ func SetupTools(ctx context.Context, currentVersion string) error {
3636 if ok , err := system .IsPHPVersionAtLeast ("8.2.0" ); err != nil {
3737 return fmt .Errorf ("failed to check installed PHP version: %w" , err )
3838 } else if ! ok {
39- return fmt .Errorf ("PHP version must be at least 8.2.0 to use this. Update your PHP version or use the shopware-cli docker image" )
39+ return fmt .Errorf ("php version must be at least 8.2.0 to use this. Update your PHP version or use the shopware-cli docker image" )
4040 }
4141
4242 if ok , err := system .IsNodeVersionAtLeast ("22.0.0" ); err != nil {
4343 return fmt .Errorf ("failed to check installed Node.js version: %w" , err )
4444 } else if ! ok {
45- return fmt .Errorf ("Node .js version must be at least 22.0.0 to use this. Update your Node.js version or use the shopware-cli docker image" )
45+ return fmt .Errorf ("node .js version must be at least 22.0.0 to use this. Update your Node.js version or use the shopware-cli docker image" )
4646 }
4747
4848 logging .FromContext (ctx ).Debugf ("Using tool directory: %s" , toolsDir )
You can’t perform that action at this time.
0 commit comments