Add assertion for mypy

This commit is contained in:
Dominik Jain authored and Dominik Jain committed 2025-12-08 15:27:29 +01:00
1 parent a56a82f2d2
commit ecbcaac67d
1 file changed
+1
@@ -66,6 +66,7 @@ class ScalaLanguageServer(SolidLanguageServer):
if not os.path.exists(metals_executable):
if not cs_command_path:
assert coursier_command_path is not None
log.info("'cs' command not found. Trying to install it using 'coursier'.")
try:
log.info("Running 'coursier setup --yes' to install 'cs'...")