hands are tied

This commit is contained in:
Mark Bates 2019-09-01 16:00:18 -04:00
parent f1cffaa166
commit 5e24d43bb0
1 changed files with 4 additions and 4 deletions

View File

@ -74,10 +74,10 @@ func (s *FileSystem) Clean() error {
if err := s.RemoveAll(pt.Name); err != nil {
return err
}
//
// if _, err := s.Stat(pt.Name); err == nil {
// return fmt.Errorf("expected %q to be, you know, not there any more", pt)
// }
if _, err := s.Stat(pt.Name); err == nil {
return fmt.Errorf("expected %q to be, you know, not there any more", pt)
}
return nil
}