We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac13464 commit 917f99fCopy full SHA for 917f99f
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "react-native-update-cli",
3
- "version": "2.1.1",
+ "version": "2.1.2",
4
"description": "command line tool for react-native-update (remote updates for react native)",
5
"main": "index.js",
6
"bin": {
src/package.ts
@@ -232,7 +232,7 @@ export const packageCommands = {
232
if (!allPkgs) {
233
throw new Error(t('noPackagesFound', { appId }));
234
}
235
- const selectedPackage = allPkgs.find((pkg) => pkg.version === packageVersion);
+ const selectedPackage = allPkgs.find((pkg) => pkg.name === packageVersion);
236
if (!selectedPackage) {
237
throw new Error(t('packageNotFound', { packageVersion }));
238
0 commit comments