use isSystemCompatible (IDEA-CR-33396)

This commit is contained in:
Sergey Simonchik
2018-06-09 12:12:39 +03:00
parent d4251f79b1
commit aee389ebae
@@ -71,7 +71,7 @@ public class WSLUtil {
*/
@NotNull
public static List<WSLDistribution> getAvailableDistributions() {
if (!SystemInfo.isWin10OrNewer) return Collections.emptyList();
if (!isSystemCompatible()) return Collections.emptyList();
final Path executableRoot = getExecutableRootPath();
if (executableRoot == null) return Collections.emptyList();