JS: add message to assert in JsLibraryStdDetectionUtil
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user