From d6c85ab6a6620232290a0561fe7fa9bf1a66eacc Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Wed, 20 Jul 2022 11:42:31 -0400 Subject: [PATCH] Add match for unhandled operation --- src/patch.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/patch.rs b/src/patch.rs index 4f55934..fc26304 100755 --- a/src/patch.rs +++ b/src/patch.rs @@ -414,6 +414,9 @@ pub fn process_patch(data_dir : &str, path : &str) { fs::remove_file(new_path.as_str()); } + _ => { + panic!("Unhandled operation!"); + } } } _ => {}