Skip to content

Commit

Permalink
fix(tui): fix windows compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-olszewski committed Jul 25, 2024
1 parent 41d626d commit 1237982
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions crates/turborepo-ui/src/tui/clipboard.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,8 @@ fn copy_impl(s: &str, provider: &Provider) -> std::io::Result<()> {
}

#[cfg(windows)]
Provider::Win => {
clipboard_win::set_clipboard_string(s).map_err(|e| anyhow::Error::msg(e.to_string()))?
}
Provider::Win => clipboard_win::set_clipboard_string(s)

Check failure on line 101 in crates/turborepo-ui/src/tui/clipboard.rs

View workflow job for this annotation

GitHub Actions / Build Turborepo (windows, windows-latest)

failed to resolve: use of undeclared crate or module `clipboard_win`

Check failure on line 101 in crates/turborepo-ui/src/tui/clipboard.rs

View workflow job for this annotation

GitHub Actions / Turborepo Rust testing on windows

failed to resolve: use of undeclared crate or module `clipboard_win`
.map_err(|e| std::io::Error::other(e.to_string()))?,

Provider::NoOp => (),
};
Expand Down

0 comments on commit 1237982

Please sign in to comment.