Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improvement: Don't allow empty sbtScript setting #6687

Merged
merged 1 commit into from
Aug 19, 2024

Conversation

tgodzik
Copy link
Contributor

@tgodzik tgodzik commented Aug 16, 2024

Fixes #6686

@@ -118,9 +118,9 @@ case class SbtBuildTool(
val sbtScript = userConfig().sbtScript.orElse(findSbtInPath())

sbtScript match {
case Some(script) =>
case Some(script) if script.trim().nonEmpty =>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you are already trimming it, maybe it should also be passed trimmed.

@tgodzik tgodzik merged commit eea6c3d into scalameta:main Aug 19, 2024
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No build targets were detected in this workspace so most functionality won't work.
2 participants