Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit bcdf132

Browse files
authored
Merge pull request #1183 from github/fixes/1168-readonly-temp-files
Don't make temp files readonly.
2 parents 6da7a75 + af895fe commit bcdf132

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/GitHub.App/Services/PullRequestService.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,6 @@ static string CreateTempFile(string fileName, string commitSha, string contents,
446446

447447
Directory.CreateDirectory(tempDir);
448448
File.WriteAllText(tempFile, contents, encoding);
449-
File.SetAttributes(tempFile, FileAttributes.ReadOnly);
450449
return tempFile;
451450
}
452451

0 commit comments

Comments
 (0)