refactor: remove unneeded commented code
@@ -2294,15 +2294,11 @@ issue in our tracker: https://github.com/gleam-lang/gleam/issues",
let text = format!("Invalid runtime for {} target: {}", target, invalid_runtime);
let hint = match target {
- Target::JavaScript => {
- // let valid_runtimes_text = valid_runtimes.join(", ");
-
- Some(format!(
+ Target::JavaScript => Some(format!(
"available runtimes for {} are: {:?}",
target,
Runtime::VARIANTS
- ))
- }
+ )),
Target::Erlang => Some(
"You can not set a runtime for erlang. Did you mean to target javascript?"
.into(),
