Do not recommend anything in setup script
This commit is contained in:
		
							parent
							
								
									6f53d40d6a
								
							
						
					
					
						commit
						69c14a274d
					
				@ -6,8 +6,11 @@ cd $(git rev-parse --show-toplevel)
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
if ! type npm > /dev/null
 | 
					if ! type npm > /dev/null
 | 
				
			||||||
then
 | 
					then
 | 
				
			||||||
  echo "npm is not installed, please install via nvm(recommended) or package manager"
 | 
					  cat << EOF
 | 
				
			||||||
  echo "setup will not be run"
 | 
					npm is not installed, please install Node.js and npm.
 | 
				
			||||||
 | 
					Read more on Node.js official website: https://nodejs.org
 | 
				
			||||||
 | 
					Setup will not be run
 | 
				
			||||||
 | 
					EOF
 | 
				
			||||||
  exit 0
 | 
					  exit 0
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user