1
0
mirror of https://gitcode.com/github-mirrors/react-native-update-cli.git synced 2025-09-16 09:41:38 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee

fix appid equal

This commit is contained in:
sunnylqm
2023-09-19 18:36:26 +08:00
parent f2d5269512
commit 8af4d314ce

View File

@@ -65,7 +65,7 @@ export const commands = {
} = await getIpaInfo(fn); } = await getIpaInfo(fn);
const { appId, appKey } = await getSelectedApp('ios'); const { appId, appKey } = await getSelectedApp('ios');
if (appIdInPkg && appIdInPkg !== appId) { if (appIdInPkg && appIdInPkg != appId) {
throw new Error( throw new Error(
`appId不匹配当前ipa: ${appIdInPkg}, 当前update.json: ${appId}`, `appId不匹配当前ipa: ${appIdInPkg}, 当前update.json: ${appId}`,
); );
@@ -100,7 +100,7 @@ export const commands = {
} = await getApkInfo(fn); } = await getApkInfo(fn);
const { appId, appKey } = await getSelectedApp('android'); const { appId, appKey } = await getSelectedApp('android');
if (appIdInPkg && appIdInPkg !== appId) { if (appIdInPkg && appIdInPkg != appId) {
throw new Error( throw new Error(
`appId不匹配当前apk: ${appIdInPkg}, 当前update.json: ${appId}`, `appId不匹配当前apk: ${appIdInPkg}, 当前update.json: ${appId}`,
); );