Don't run APM on BSDs (fix #68)
This commit is contained in:
11
src/main.rs
11
src/main.rs
@@ -238,6 +238,17 @@ fn run() -> Result<(), Error> {
|
||||
|terminal| node::yarn_global_update(terminal, opt.dry_run),
|
||||
&mut terminal,
|
||||
));
|
||||
|
||||
#[cfg(
|
||||
not(
|
||||
any(
|
||||
target_os = "freebsd",
|
||||
target_os = "openbsd",
|
||||
target_os = "netbsd",
|
||||
target_os = "dragonfly"
|
||||
)
|
||||
)
|
||||
)]
|
||||
report.push_result(execute(
|
||||
|terminal| generic::run_apm(terminal, opt.dry_run),
|
||||
&mut terminal,
|
||||
|
||||
Reference in New Issue
Block a user