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

Check ppk extension when publish

This commit is contained in:
sunnylqm
2020-02-11 11:53:30 +08:00
parent 46c7aa88dd
commit 81f6e57413

View File

@@ -71,7 +71,7 @@ export const commands = {
const fn = args[0]; const fn = args[0];
const {name, description, metaInfo } = options; const {name, description, metaInfo } = options;
if (!fn) { if (!fn || !fn.endsWith('.ppk')) {
throw new Error('Usage: pushy publish <ppkFile> --platform ios|android'); throw new Error('Usage: pushy publish <ppkFile> --platform ios|android');
} }