We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7ed9e9 commit 83b5445Copy full SHA for 83b5445
src/cli.rs
@@ -98,8 +98,8 @@ fn crawl_name_format(crawl: &str) -> Result<String, String> {
98
let crawl_ref = crawl.to_uppercase();
99
100
if !(main_re.is_match(&crawl_ref) || news_re.is_match(&crawl_ref)) {
101
- return Err("Please use the CC-MAIN-YYYY-WW or the CC-NEWS-YYYY-MM format.".to_string());
+ Err("Please use the CC-MAIN-YYYY-WW or the CC-NEWS-YYYY-MM format.".to_string())
102
} else {
103
- return Ok(crawl_ref);
+ Ok(crawl_ref)
104
}
105
0 commit comments