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]
|
#[must_use]
|
||||||
#[cfg(
|
#[cfg(not(any(
|
||||||
not(
|
target_os = "freebsd",
|
||||||
any(
|
target_os = "openbsd",
|
||||||
target_os = "freebsd",
|
target_os = "netbsd",
|
||||||
target_os = "openbsd",
|
target_os = "dragonfly"
|
||||||
target_os = "netbsd",
|
)))]
|
||||||
target_os = "dragonfly"
|
|
||||||
)
|
|
||||||
)
|
|
||||||
)]
|
|
||||||
pub fn run_apm(terminal: &mut Terminal, dry_run: bool) -> Option<(&'static str, bool)> {
|
pub fn run_apm(terminal: &mut Terminal, dry_run: bool) -> Option<(&'static str, bool)> {
|
||||||
if let Some(apm) = utils::which("apm") {
|
if let Some(apm) = utils::which("apm") {
|
||||||
terminal.print_separator("Atom Package Manager");
|
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,
|
&mut execution_context,
|
||||||
)?);
|
)?);
|
||||||
|
|
||||||
#[cfg(
|
#[cfg(not(any(
|
||||||
not(
|
target_os = "freebsd",
|
||||||
any(
|
target_os = "openbsd",
|
||||||
target_os = "freebsd",
|
target_os = "netbsd",
|
||||||
target_os = "openbsd",
|
target_os = "dragonfly"
|
||||||
target_os = "netbsd",
|
)))]
|
||||||
target_os = "dragonfly"
|
|
||||||
)
|
|
||||||
)
|
|
||||||
)]
|
|
||||||
report.push_result(execute(
|
report.push_result(execute(
|
||||||
|terminal| generic::run_apm(terminal, opt.dry_run),
|
|terminal| generic::run_apm(terminal, opt.dry_run),
|
||||||
&mut execution_context,
|
&mut execution_context,
|
||||||
|
|||||||
Reference in New Issue
Block a user