fix(lint): build errors with Report::msg, not the eyre! macro the workspace bans

The ban (`just lint`, and now the hygiene job) came from the macOS and KDE repositories and was
never applied to the Windows code, so the unified tree had sixteen uses of the macro: seven in
the Windows daemon, six in komorebi-core (written during the unification), one in the KDE
backend and two in the recorder. Each becomes eyre::Report::msg, with format! where the message
has arguments.
This commit is contained in:
LGUG2Z committed 2026-11-05 16:13:37 -08:00
1 parent 416cda802d
commit 658827fcd5
10 files changed
+27 -19

No files matched your search

+1 -1
View File
@@ -850,7 +850,7 @@ impl komorebi_backend::Backend for KWinBackend {
fn monitors(&self) -> komorebi_backend::Result<Vec<komorebi_backend::MonitorInfo>> {
let monitors = self.shared.table.lock().monitors();
if monitors.is_empty() {
return Err(platform(eyre::eyre!("KWin reported no outputs")));
return Err(platform(eyre::Report::msg("KWin reported no outputs")));
}
Ok(monitors.into_iter().map(Into::into).collect())
}