Skip to content

Commit

Permalink
fix: typo in get_committer
Browse files Browse the repository at this point in the history
  • Loading branch information
jackdorland authored and oknozor committed Oct 4, 2020
1 parent 0939f4c commit f97a6f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/bin/cog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ fn main() -> Result<()> {
let subcommand = matches.subcommand_matches(VERIFY).unwrap();
let message = subcommand.value_of("message").unwrap();
let author = CocoGitto::get()
.map(|cogito| cogito.get_commiter().unwrap())
.map(|cogito| cogito.get_committer().unwrap())
.ok();

match cocogitto::verify(author, message) {
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ impl CocoGitto {
&COMMITS_METADATA
}

pub fn get_commiter(&self) -> Result<String> {
pub fn get_committer(&self) -> Result<String> {
self.repository.get_author()
}

Expand Down

0 comments on commit f97a6f3

Please sign in to comment.