mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fix lint warn (#38252)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/38252 Fix lint warn changelog: [internal] internal Reviewed By: christophpurrer Differential Revision: D47307051 fbshipit-source-id: b09bea3b598c5a5ac2595ccde5fc5756bb718eab
This commit is contained in:
committed by
Facebook GitHub Bot
parent
9022c59820
commit
d37cdec070
+4
-18
@@ -97,29 +97,15 @@ public class RNLog {
|
||||
private static String levelToString(int level) {
|
||||
switch (level) {
|
||||
case LOG:
|
||||
{
|
||||
return "log";
|
||||
}
|
||||
case TRACE:
|
||||
{
|
||||
return "log";
|
||||
}
|
||||
return "log";
|
||||
case ADVICE:
|
||||
{
|
||||
return "warn";
|
||||
}
|
||||
case WARN:
|
||||
{
|
||||
return "warn";
|
||||
}
|
||||
return "warn";
|
||||
case ERROR:
|
||||
{
|
||||
return "error";
|
||||
}
|
||||
return "error";
|
||||
default:
|
||||
{
|
||||
return "none";
|
||||
}
|
||||
return "none";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user