Przeglądaj źródła

State: all is default on Github API

Santiago Pastorino 3 lat temu
rodzic
commit
b120e1d2ee
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      src/github.rs

+ 1 - 0
src/github.rs

@@ -865,6 +865,7 @@ impl Repository {
     ) -> String {
         let filters = filters
             .iter()
+            .filter(|&&(key, val)| !(key == "state" && val == "all"))
             .map(|(key, val)| format!("{}:{}", key, val))
             .chain(
                 include_labels