react-native-update-cli 2.1.1 → 2.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/package.js +1 -1
- package/package.json +1 -1
- package/src/package.ts +1 -1
package/lib/package.js
CHANGED
|
@@ -254,7 +254,7 @@ const packageCommands = {
|
|
|
254
254
|
appId
|
|
255
255
|
}));
|
|
256
256
|
}
|
|
257
|
-
const selectedPackage = allPkgs.find((pkg)=>pkg.
|
|
257
|
+
const selectedPackage = allPkgs.find((pkg)=>pkg.name === packageVersion);
|
|
258
258
|
if (!selectedPackage) {
|
|
259
259
|
throw new Error((0, _i18n.t)('packageNotFound', {
|
|
260
260
|
packageVersion
|
package/package.json
CHANGED
package/src/package.ts
CHANGED
|
@@ -232,7 +232,7 @@ export const packageCommands = {
|
|
|
232
232
|
if (!allPkgs) {
|
|
233
233
|
throw new Error(t('noPackagesFound', { appId }));
|
|
234
234
|
}
|
|
235
|
-
const selectedPackage = allPkgs.find((pkg) => pkg.
|
|
235
|
+
const selectedPackage = allPkgs.find((pkg) => pkg.name === packageVersion);
|
|
236
236
|
if (!selectedPackage) {
|
|
237
237
|
throw new Error(t('packageNotFound', { packageVersion }));
|
|
238
238
|
}
|