Skip to content

Commit c1c4105

Browse files
authored
Merge pull request #57 from sanders41/license-year
Fix default year
2 parents 2913f88 + 0d8e37d commit c1c4105

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/project_info.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,10 @@ pub fn get_project_info(use_defaults: bool) -> ProjectInfo {
261261
if use_defaults {
262262
copyright_year = Some(now.year().to_string());
263263
} else {
264-
copyright_year = Some(copyright_year_prompt(&license, None));
264+
copyright_year = Some(copyright_year_prompt(
265+
&license,
266+
Some(now.year().to_string()),
267+
));
265268
}
266269
}
267270
}

0 commit comments

Comments
 (0)