Skip to content

Commit 2e21543

Browse files
committed
[LOCAL] Fix prettier
1 parent 58f232c commit 2e21543

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

packages/react-native/cli.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -52,18 +52,6 @@ function warnWhenRunningInit() {
5252
}
5353
}
5454

55-
function warnWithDeprecated() {
56-
if (isInitCommand) {
57-
return;
58-
}
59-
60-
console.warn(`
61-
${chalk.yellow('⚠')}️ The \`init\` command is deprecated.
62-
63-
- Switch to ${chalk.dim('npx @react-native-community/cli init')} for the identical behavior.
64-
- Refer to the documentation for information about alternative tools: ${chalk.dim('https://reactnative.dev/docs/getting-started')}`);
65-
}
66-
6755
/**
6856
* npx react-native -> @react-native-community/cli
6957
*

0 commit comments

Comments
 (0)