1
0
Code Issues Pull Requests 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);
}