Skip to content

Commit f86ab55

Browse files
authored
Fix auto completion of username from git (#1600)
1 parent aedb9b9 commit f86ab55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/generate_blog/src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ fn try_parse_version_from_title(title: &str) -> Option<String> {
191191
fn guess_author_from_git() -> Option<String> {
192192
String::from_utf8(
193193
Command::new("git")
194-
.args(["config", "get", "user.name"])
194+
.args(["config", "user.name"])
195195
.output()
196196
.ok()?
197197
.stdout,

0 commit comments

Comments
 (0)