mirror of
https://gitcode.com/gh_mirrors/re/react-native-pushy.git
synced 2025-10-07 14:05:17 +08:00
Check ppk extension when publish
This commit is contained in:
@@ -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');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user