Use exit code 1 for all tests.
There's no real good reason why they were different and exit code 1 is pretty standard and well understood.
This commit is contained in:
		
							parent
							
								
									0c7b575b9b
								
							
						
					
					
						commit
						5a8088bab1
					
				|  | @ -7,12 +7,12 @@ echo "Test for node succeeded." | |||
| 
 | ||||
| if ! npm --version >/dev/null; then | ||||
|   echo "Test for npm failed!" | ||||
|   exit 2 | ||||
|   exit 1 | ||||
| fi | ||||
| echo "Test for npm succeeded." | ||||
| 
 | ||||
| if ! yarn --version >/dev/null; then | ||||
|   echo "Test of yarn failed!" | ||||
|   exit 3 | ||||
|   exit 1 | ||||
| fi | ||||
| echo "Test for yarn succeeded." | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue