summaryrefslogtreecommitdiff
path: root/src/verify.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/verify.rs')
-rw-r--r--src/verify.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/verify.rs b/src/verify.rs
index 877a2aa..5aa2f5c 100644
--- a/src/verify.rs
+++ b/src/verify.rs
@@ -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)?,
_ => (),
}
}