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 f54a643 commit 964454bCopy full SHA for 964454b
Source/Tools/ServiceGenerator/SGGenerator.m
@@ -342,8 +342,8 @@ - (instancetype)initWithApi:(GTLRDiscovery_RestDescription *)api
342
importPrefix:(NSString *)importPrefix {
343
self = [super init];
344
if (self != nil) {
345
- NSAssert(((options & kSGGeneratorOptionImportPrefixIsFramework) != 0) &&
346
- ((options & kSGGeneratorOptionImportPrefixIsModular) != 0),
+ NSAssert(!(((options & kSGGeneratorOptionImportPrefixIsFramework) != 0) &&
+ ((options & kSGGeneratorOptionImportPrefixIsModular) != 0)),
347
@"Internal error, can't set both.");
348
_api = api;
349
_options = options;
0 commit comments