Skip to content

Commit f05ed0b

Browse files
authored
Finalize fix for build job compile error
1 parent 343e386 commit f05ed0b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

dev/pyRevitLabs/pyRevitLabs.PyRevit/PyRevitConfigs.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,12 @@ public static PyRevitConfig GetConfigFile()
5959
{
6060
if (CommonUtils.VerifyFile(adminConfig))
6161
{
62-
bool isWritable = true;
62+
bool isWritable = false;
6363
try
6464
{
6565
// Probe write access to detect ACL-protected files that are not marked with the ReadOnly attribute.
6666
using (var fs = new FileStream(adminConfig, FileMode.Open, FileAccess.Write, FileShare.ReadWrite)) { }
67+
isWritable = true;
6768
}
6869
catch (UnauthorizedAccessException)
6970
{

0 commit comments

Comments
 (0)