IJPL-217690 startup: more efficient environment check

GitOrigin-RevId: 889a0171021eba14fb5bb99d462e7db7e9124f70
This commit is contained in:
Roman Shevchenko
2025-11-13 20:42:14 +00:00
committed by intellij-monorepo-bot
parent 2cb08f20f0
commit 8aef7126af
@@ -67,7 +67,7 @@ fun migrateCommunityToSingleProductIfNeeded(args: List<String>) {
return
}
if (System.getenv()["TOOLBOX_VERSION"] != null) return
if (System.getenv("TOOLBOX_VERSION") != null) return
if (!(OS.CURRENT == OS.macOS && currentDirName.endsWith(".app"))) return
val newDir = currentDir.resolveSibling(newDirName)