hyprpm: Fix crashes due to misplaced fmt argument(s) (#8140)

This commit is contained in:
zakk4223 2024-10-16 16:13:59 -05:00 committed by GitHub
parent 86e9f69a69
commit 09581d32fd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -697,7 +697,7 @@ bool CPluginManager::updatePlugins(bool forceUpdateAll) {
" This likely means that the plugin is either outdated, not yet available for your version, or broken.\n" " This likely means that the plugin is either outdated, not yet available for your version, or broken.\n"
"If you are on -git, update first.\n" "If you are on -git, update first.\n"
"Try re-running with -v to see more verbose output.", "Try re-running with -v to see more verbose output.",
failureString("Plugin {} failed to build.")); failureString("Plugin {} failed to build.", p.name));
p.failed = true; p.failed = true;
continue; continue;
} }
@ -839,7 +839,7 @@ ePluginLoadStateReturn CPluginManager::ensurePluginsLoadState() {
continue; continue;
loadUnloadPlugin(HYPRPMPATH + repoForName(p.name) + "/" + p.filename, true); loadUnloadPlugin(HYPRPMPATH + repoForName(p.name) + "/" + p.filename, true);
std::println("{}", successString("Loaded {}"), p.name); std::println("{}", successString("Loaded {}", p.name));
} }
} }