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

Add Nuget Config, Bazel and EdgeQL Support, Fix Output Formatter #999

Merged
merged 13 commits into from
May 24, 2023
Prev Previous commit
Next Next commit
fix serialize
  • Loading branch information
Embers-of-the-Fire committed May 20, 2023
commit 4032eaf4810d7b11accf4543f1651715fc345706
4 changes: 2 additions & 2 deletions src/language/language_type.tera.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ use arbitrary::Arbitrary;
#[non_exhaustive]
#[allow(clippy::upper_case_acronyms)]
pub enum LanguageType {
{% for key, _ in languages -%}
#[allow(missing_docs)] {{key}},
{% for key, value in languages -%}
#[allow(missing_docs)] {% if value.name is defined %} #[serde(alias = "{{value.name}}")] {% else %} #[serde(alias = "{{key}}")] {% endif %} {{key}},
{% endfor %}
}

Expand Down