mirror of
				https://gitcode.com/gh_mirrors/re/react-native-pushy.git
				synced 2025-10-31 13:23:12 +08:00 
			
		
		
		
	add warning if running outside.
This commit is contained in:
		
							
								
								
									
										1
									
								
								react-native-pushy-cli/cli.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								react-native-pushy-cli/cli.js
									
									
									
									
										vendored
									
									
								
							| @@ -46,6 +46,7 @@ if (fs.existsSync(cliPath)) { | ||||
| if (cli) { | ||||
|   cli.run(); | ||||
| } else { | ||||
|   console.error('Are you at home directory of a react-native project?'); | ||||
|   console.error('`pushy install` is under development, please run `npm install react-native-pushy` to install pushy manually.'); | ||||
|   process.exit(1); | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 tdzl2003
					tdzl2003