JS: add message to assert in JsLibraryStdDetectionUtil

This commit is contained in:
Michael Nedzelsky
2015-03-26 15:31:15 +03:00
parent 2f7ebf677f
commit 7b15f9c7c9
@@ -63,7 +63,7 @@ public class JsLibraryStdDetectionUtil {
if (root.getFileSystem().getProtocol() != StandardFileSystems.JAR_PROTOCOL) continue;
VirtualFile jar = VfsUtilCore.getVirtualFileForJar(root);
assert jar != null;
assert jar != null : "expected not null for root '" + root.getPath() + "'";
if (LibraryUtils.isKotlinJavascriptStdLibrary(new File(jar.getPath()))) {
return jar;