mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-03 22:07:33 -05:00 
			
		
		
		
	Merge pull request #4469 from turbo124/v5-develop
Return NPM String error rather than bool
This commit is contained in:
		
						commit
						69c31bca2f
					
				@ -99,10 +99,10 @@ class SystemHealth
 | 
			
		||||
                return empty($foo[0]) ? 'Found node, but no version information' : $foo[0];
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            return false;
 | 
			
		||||
            return 'Node not found.';
 | 
			
		||||
            
 | 
			
		||||
        } catch (Exception $e) {
 | 
			
		||||
            return false;
 | 
			
		||||
            return 'Node not found.';
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
@ -115,10 +115,10 @@ class SystemHealth
 | 
			
		||||
                return empty($foo[0]) ? 'Found npm, but no version information' : $foo[0];
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            return false;
 | 
			
		||||
            return 'NPM not found';
 | 
			
		||||
 | 
			
		||||
        } catch (Exception $e) {
 | 
			
		||||
            return false;
 | 
			
		||||
            return 'NPM not found';
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user