From 2e21543017006ee6418c6953d976593d07407755 Mon Sep 17 00:00:00 2001 From: Riccardo Cipolleschi Date: Mon, 3 Jun 2024 18:04:41 +0100 Subject: [PATCH] [LOCAL] Fix prettier --- packages/react-native/cli.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/packages/react-native/cli.js b/packages/react-native/cli.js index 8bb052ecab6..6171a3ab30d 100755 --- a/packages/react-native/cli.js +++ b/packages/react-native/cli.js @@ -52,18 +52,6 @@ function warnWhenRunningInit() { } } -function warnWithDeprecated() { - if (isInitCommand) { - return; - } - - console.warn(` -${chalk.yellow('⚠')}️ The \`init\` command is deprecated. - -- Switch to ${chalk.dim('npx @react-native-community/cli init')} for the identical behavior. -- Refer to the documentation for information about alternative tools: ${chalk.dim('https://reactnative.dev/docs/getting-started')}`); -} - /** * npx react-native -> @react-native-community/cli *