deduplicate

This commit is contained in:
Andrew Bagshaw 2019-03-13 13:53:24 -07:00
parent 3f114cc069
commit 4d7ce6e571
1 changed files with 2 additions and 2 deletions

View File

@ -22,8 +22,8 @@ pub fn verify(start_at: Option<&str>) -> Result<(), ()> {
}
match i.get("mode").unwrap().as_str().unwrap() {
"test" => test(i.get("path").unwrap().as_str().unwrap())?,
"compile" => compile_only(i.get("path").unwrap().as_str().unwrap())?,
"test" => test(path)?,
"compile" => compile_only(path)?,
_ => (),
}
}