We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00b90de commit 19a5bb8Copy full SHA for 19a5bb8
Classes/Controllers/PBGitRepositoryDocument.m
@@ -120,7 +120,7 @@ - (void)showWindows
120
NSURL *repoURL = [command directParameter];
121
122
// on app launch there may be many repositories opening, so double check that this is the right repo
123
- if (repoURL) {
+ if (repoURL && [repoURL isKindOfClass:[NSURL class]]) {
124
repoURL = [PBRepositoryFinder gitDirForURL:repoURL];
125
if ([repoURL isEqual:_repository.gitURL]) {
126
NSArray *arguments = command.arguments[@"openOptions"];
0 commit comments