From 9425bcff8fc3094374da2ea47435f164342b1772 Mon Sep 17 00:00:00 2001 From: Sawyer Hood Date: Sat, 30 Apr 2016 18:20:37 -0700 Subject: [PATCH] Updated a warning string in upgrade.js Summary: I inserted an 'in' in the warning message that is displayed when the user's package.json file doesn't have a valid version number for react native. Test plan --------------- -run upgrade.js on a project with an invalid version number. Closes https://github.com/facebook/react-native/pull/7314 Differential Revision: D3245839 fb-gh-sync-id: e38f3be0884d8c75f9610faced85d5c81c24a49e fbshipit-source-id: e38f3be0884d8c75f9610faced85d5c81c24a49e --- local-cli/upgrade/upgrade.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/local-cli/upgrade/upgrade.js b/local-cli/upgrade/upgrade.js index 4ce704984..a65828b4a 100644 --- a/local-cli/upgrade/upgrade.js +++ b/local-cli/upgrade/upgrade.js @@ -60,7 +60,7 @@ module.exports = function upgrade(args, config) { } else { console.log( chalk.yellow( - 'A valid version number for \'react-native\' is not specified your \'package.json\' file.' + 'A valid version number for \'react-native\' is not specified in your \'package.json\' file.' ) ); }