Skip to content

Commit f941b93

Browse files
committed
Refactor logging in SafeZipFile to use consistent tag format for unzipping messages.
1 parent bea0e07 commit f941b93

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

android/src/main/java/cn/reactnative/modules/update/SafeZipFile.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,8 @@ public void unzipToPath(ZipEntry ze, File targetPath) throws IOException {
6666
throw new SecurityException("Illegal name: " + name);
6767
}
6868

69-
if (UpdateContext.DEBUG) {
70-
Log.d("RNUpdate", "Unzipping " + name);
71-
}
69+
70+
Log.d("react-native-update", "Unzipping " + name);
7271

7372
if (ze.isDirectory()) {
7473
target.mkdirs();

0 commit comments

Comments
 (0)