Don't crash on non-jar files added to classpath

#KT-17698 Fixed
This commit is contained in:
Dmitry Jemerov
2017-05-08 15:49:03 +02:00
parent 4393e2d518
commit 80e17cbe9c
@@ -58,7 +58,6 @@ object JsLibraryUtils {
)
jsFile?.runIfFileExists(action)
}
else -> throw IllegalArgumentException("Unknown library format (directory, zip or js file expected): $lib")
}
}