Cargo fmt
This commit is contained in:
@@ -74,16 +74,12 @@ pub fn run_emacs(base_dirs: &BaseDirs, terminal: &mut Terminal, dry_run: bool) -
|
||||
}
|
||||
|
||||
#[must_use]
|
||||
#[cfg(
|
||||
not(
|
||||
any(
|
||||
target_os = "freebsd",
|
||||
target_os = "openbsd",
|
||||
target_os = "netbsd",
|
||||
target_os = "dragonfly"
|
||||
)
|
||||
)
|
||||
)]
|
||||
#[cfg(not(any(
|
||||
target_os = "freebsd",
|
||||
target_os = "openbsd",
|
||||
target_os = "netbsd",
|
||||
target_os = "dragonfly"
|
||||
)))]
|
||||
pub fn run_apm(terminal: &mut Terminal, dry_run: bool) -> Option<(&'static str, bool)> {
|
||||
if let Some(apm) = utils::which("apm") {
|
||||
terminal.print_separator("Atom Package Manager");
|
||||
|
||||
16
src/main.rs
16
src/main.rs
@@ -288,16 +288,12 @@ fn run() -> Result<(), Error> {
|
||||
&mut execution_context,
|
||||
)?);
|
||||
|
||||
#[cfg(
|
||||
not(
|
||||
any(
|
||||
target_os = "freebsd",
|
||||
target_os = "openbsd",
|
||||
target_os = "netbsd",
|
||||
target_os = "dragonfly"
|
||||
)
|
||||
)
|
||||
)]
|
||||
#[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 execution_context,
|
||||
|
||||
Reference in New Issue
Block a user