mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-05 01:50:56 +07:00
build scripts: zip compression should not fail for missing directory (for example, if a module has no production output)
GitOrigin-RevId: 944d101f85f97afcbc36af7d1f7740d454270a84
This commit is contained in:
committed by
intellij-monorepo-bot
parent
77d213e58d
commit
855cf21f88
@@ -113,6 +113,7 @@ internal fun compressDir(startDir: Path, archiver: ZipArchiver, excludes: List<P
|
||||
val tempList = ArrayList<Path>()
|
||||
while (true) {
|
||||
val dir = dirCandidates.pollFirst() ?: break
|
||||
if (!Files.exists(dir)) break
|
||||
tempList.clear()
|
||||
Files.newDirectoryStream(dir).use {
|
||||
if (excludes == null) {
|
||||
|
||||
Reference in New Issue
Block a user