-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Windows: Remove read-only attribute for directory before deleting
If some directory is set to read-only on Windows, DeletePath will fail to delete that directory even when no one else is using it. Previously, we only remove the read-only attribute for files before deleting, we should also do the same for deleting directory. Fixes bazelbuild/continuous-integration#1012 Closes #11982. PiperOrigin-RevId: 327774854
- Loading branch information
1 parent
d683688
commit faecd05
Showing
2 changed files
with
31 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters