Skip to content

Commit bb74028

Browse files
committed
fix merge issue
1 parent 449a21a commit bb74028

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tmc-langs/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -876,7 +876,7 @@ pub fn prepare_stub(exercise_path: &Path, dest_path: &Path) -> Result<(), LangsE
876876
submission_processing::prepare_stub(&exercise_path, dest_path)?;
877877

878878
// The Ant plugin needs some additional files to be copied over.
879-
if let PluginType::Ant = tmc_langs_plugins::get_language_plugin_type(exercise_path)? {
879+
if let Some(PluginType::Ant) = tmc_langs_plugins::get_language_plugin_type(exercise_path) {
880880
AntPlugin::copy_tmc_junit_runner(dest_path).map_err(|e| TmcError::Plugin(Box::new(e)))?;
881881
}
882882
Ok(())

0 commit comments

Comments
 (0)