From 0eba277fa43ac234884cc0d75993dd326f6ce31e Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Mon, 5 Jun 2017 23:41:37 +1200 Subject: [PATCH] Fix typo in CLI project detection --- lib/cli/lib/detect.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cli/lib/detect.js b/lib/cli/lib/detect.js index 3dd1247e95d9..6783c4420f1c 100644 --- a/lib/cli/lib/detect.js +++ b/lib/cli/lib/detect.js @@ -50,7 +50,7 @@ module.exports = function detect(options) { return types.REACT_PROJECT; } - if (packageJson.dependencies && packageJson.devDependencies['react-native-scripts']) { + if (packageJson.devDependencies && packageJson.devDependencies['react-native-scripts']) { return types.REACT_NATIVE_SCRIPTS; }