Closed awumii closed 2 weeks ago
style checking fails when i commit for some reason :confused:
admin@archlinux ~/r/po (pl-translation)> git commit -m "Update polish translation" --Checking style-- Diff in /home/admin/resources/src/config.rs:6: pub const RESOURCES_FILE: &str = concat!("/usr/local/share/resources", "/resources.gresource"); pub const VERSION: &str = "1.6.0-fab94cf"; pub const LIBEXECDIR: &str = "/usr/local/libexec/resources"; + --Checking style fail-- Please fix the above issues, either manually or by running: cargo fmt --all
I just run the cargo fmt command and it works
Thanks!
Yeah, I still need to exclude config.rs from the commit check, since it is generated from config.rs.in by meson and the way it's generated is not compliant with cargo fmt's rules
style checking fails when i commit for some reason :confused:
I just run the cargo fmt command and it works