summaryrefslogtreecommitdiff
path: root/src/driver.rs
diff options
context:
space:
mode:
authorNick Gerace <nickagerace@gmail.com>2021-01-27 02:06:29 +0000
committerNick Gerace <nickagerace@gmail.com>2021-01-26 21:11:18 -0500
commit09c88901cbc9d4507aad348391631106d41141a9 (patch)
tree1312eeceed02c39f06f60e9b30bacdb7af048a40 /src/driver.rs
parent7bdeb4bd22706fa5363196486d023b722e756bae (diff)
downloadgfold-09c88901cbc9d4507aad348391631106d41141a9.zip
Switch disable unpushed check to enable
Switch disable unpushed check to enable. Change macOS to darwin where possible.
Diffstat (limited to 'src/driver.rs')
-rw-r--r--src/driver.rs10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/driver.rs b/src/driver.rs
index 4830500..d27affb 100644
--- a/src/driver.rs
+++ b/src/driver.rs
@@ -6,17 +6,15 @@
*/
use crate::util;
-
+use eyre::Result;
+use log::debug;
use std::cmp::Ordering;
use std::fs;
use std::path::Path;
-use eyre::Result;
-use log::debug;
-
#[derive(Debug)]
pub struct Config {
- pub disable_unpushed_check: bool,
+ pub enable_unpushed_check: bool,
pub no_color: bool,
pub recursive: bool,
pub skip_sort: bool,
@@ -82,7 +80,7 @@ impl Results {
if let Some(table_wrapper) = util::create_table_from_paths(
repos,
&dir,
- &config.disable_unpushed_check,
+ &config.enable_unpushed_check,
&config.no_color,
) {
self.0.push(table_wrapper);