Skip to content

Commit d149d4d

Browse files
authored
Update src/winapp-CLI/WinApp.Cli/Services/ProjectDetectionService.cs
1 parent 9909233 commit d149d4d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/winapp-CLI/WinApp.Cli/Services/ProjectDetectionService.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,10 @@ private static bool IsElectronProject(DirectoryInfo directory)
184184
{
185185
return false;
186186
}
187+
catch (UnauthorizedAccessException)
188+
{
189+
return false;
190+
}
187191
}
188192

189193
private static bool HasElectronDependency(JsonElement root, string propertyName)

0 commit comments

Comments
 (0)