always update textcase.file_path (#2432)
This commit is contained in:
parent
c44d361828
commit
7391c6040b
@ -413,13 +413,7 @@ where
|
||||
file_name
|
||||
};
|
||||
|
||||
if testcase
|
||||
.file_path()
|
||||
.as_ref()
|
||||
.map_or(true, |path| !path.starts_with(&self.dir_path))
|
||||
{
|
||||
*testcase.file_path_mut() = Some(self.dir_path.join(&file_name));
|
||||
}
|
||||
*testcase.filename_mut() = Some(file_name);
|
||||
|
||||
if self.meta_format.is_some() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user