Skip to content

Commit b7ac655

Browse files
generatedunixname537391475639613facebook-github-bot
authored andcommitted
xplat/js/react-native-github/packages/gradle-plugin/react-native-gradle-plugin/src/test/kotlin/com/facebook/react/tests/TaskTestUtils.kt (#53458)
Summary: Pull Request resolved: #53458 Reviewed By: rshest Differential Revision: D80931289 fbshipit-source-id: 5da865e62ae5d4ef248d7e7f17357386f0b2b9b4
1 parent 4831314 commit b7ac655

File tree

1 file changed

+2
-2
lines changed
  • packages/gradle-plugin/react-native-gradle-plugin/src/test/kotlin/com/facebook/react/tests

1 file changed

+2
-2
lines changed

packages/gradle-plugin/react-native-gradle-plugin/src/test/kotlin/com/facebook/react/tests/TaskTestUtils.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ internal fun createZip(dest: File, paths: List<String>) {
5959
val uri = URI.create("jar:file:$dest")
6060

6161
FileSystems.newFileSystem(uri, env).use { zipfs ->
62-
paths.forEach {
63-
val zipEntryPath = zipfs.getPath(it)
62+
paths.forEach { path ->
63+
val zipEntryPath = zipfs.getPath(path)
6464
val zipEntryFolder = zipEntryPath.subpath(0, zipEntryPath.nameCount - 1)
6565
Files.createDirectories(zipEntryFolder)
6666
Files.createFile(zipEntryPath)

0 commit comments

Comments
 (0)