diff --git a/src/dev_aid/ariadne_interface.rs b/src/dev_aid/ariadne_interface.rs index 89e1cc0..5f275b2 100644 --- a/src/dev_aid/ariadne_interface.rs +++ b/src/dev_aid/ariadne_interface.rs @@ -20,7 +20,13 @@ impl Cache for (&Linker, &mut ArenaVector, FileUUIDMark Ok(&self.1[*id]) } fn display<'a>(&self, id: &'a FileUUID) -> Option> { - Some(Box::new(self.0.files[*id].file_identifier.clone())) + if config().ci { + let filename = self.0.files[*id].file_identifier.rsplit("/").next().unwrap_or(self.0.files[*id].file_identifier.as_str()); + Some(Box::new(filename.to_string())) + } else { + Some(Box::new(self.0.files[*id].file_identifier.clone())) + } + } }