Skip to content

Commit

Permalink
Fixed readonly issue
Browse files Browse the repository at this point in the history
  • Loading branch information
devedse committed Aug 9, 2020
1 parent e865f48 commit 85090f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WebOptimizationProject/GitHubRepositoryOptimizer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ private void CleanupRecursively(string path)
foreach (var file in Directory.GetFiles(path))
{
FileAttributes attributes = File.GetAttributes(path);
if ((attributes & FileAttributes.Hidden) == FileAttributes.ReadOnly)
if ((attributes & FileAttributes.ReadOnly) == FileAttributes.ReadOnly)
{
// Show the file.
attributes = attributes & ~FileAttributes.ReadOnly;
Expand Down

0 comments on commit 85090f8

Please sign in to comment.