mirror of
https://github.com/CachyOS/New-Cli-Installer.git
synced 2025-02-02 22:07:13 +08:00
🧹 gucc: apply clang-format
This commit is contained in:
parent
493c5430ba
commit
9002dbbe85
@ -26,7 +26,6 @@ constexpr auto modify_initcpio_line(std::string_view line, std::string_view modu
|
||||
constexpr auto modify_initcpio_fields(std::string_view file_content, std::string_view modules, std::string_view files, std::string_view hooks) noexcept -> std::string {
|
||||
return file_content | std::ranges::views::split('\n')
|
||||
| std::ranges::views::transform([&](auto&& rng) {
|
||||
/* clang-format off */
|
||||
auto&& line = std::string_view(&*rng.begin(), static_cast<size_t>(std::ranges::distance(rng)));
|
||||
return modify_initcpio_line(line, modules, files, hooks);
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user