1
0
mirror of https://gitcode.com/gh_mirrors/re/react-native-pushy.git synced 2025-10-07 17:25:13 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee

add warning if running outside.

This commit is contained in:
tdzl2003
2016-02-14 16:49:04 +08:00
parent 2c3a402f51
commit 8bc608581c

View File

@@ -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);
}