Skip to content

Commit 8c06c0e

Browse files
committed
dbg: see if hdd detection works correctly on CI
1 parent 420c222 commit 8c06c0e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/app.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,9 @@ impl App {
9898
Threads::Auto => {
9999
let disks = Disks::new_with_refreshed_list();
100100
if any_path_is_in_hdd::<hdd::RealApi>(&self.args.files, &disks) {
101-
eprintln!("warning: HDD detected, the thread limit will be set to 1");
102-
Some(1)
101+
// eprintln!("warning: HDD detected, the thread limit will be set to 1");
102+
// Some(1)
103+
panic!("HDD detected");
103104
} else {
104105
None
105106
}

0 commit comments

Comments
 (0)