mirror of
https://github.com/cwinfo/matterbridge.git
synced 2025-09-11 17:02:30 +00:00
Update dependencies (#1813)
This commit is contained in:
2
vendor/github.com/spf13/afero/memmap.go
generated
vendored
2
vendor/github.com/spf13/afero/memmap.go
generated
vendored
@@ -279,7 +279,7 @@ func (m *MemMapFs) RemoveAll(path string) error {
|
||||
defer m.mu.RUnlock()
|
||||
|
||||
for p := range m.getData() {
|
||||
if strings.HasPrefix(p, path) {
|
||||
if p == path || strings.HasPrefix(p, path+FilePathSeparator) {
|
||||
m.mu.RUnlock()
|
||||
m.mu.Lock()
|
||||
delete(m.getData(), p)
|
||||
|
Reference in New Issue
Block a user