diff --git a/packages/create-react-native-library/src/index.ts b/packages/create-react-native-library/src/index.ts index 1da3f36c..212ee2c0 100644 --- a/packages/create-react-native-library/src/index.ts +++ b/packages/create-react-native-library/src/index.ts @@ -82,7 +82,7 @@ async function create(_argv: yargs.Arguments) { await fs.mkdirp(folder); - if (answers.reactNativeVersion !== null) { + if (answers.reactNativeVersion != null) { printUsedRNVersion(answers.reactNativeVersion, config); }