Skip to content

Commit

Permalink
Fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
pmarkowsky committed Sep 13, 2023
1 parent 06c892f commit f91a567
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Source/santactl/Commands/SNTCommandRule.m
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,11 @@ + (NSString *)longHelpText {

- (void)runWithArguments:(NSArray *)arguments {
SNTConfigurator *config = [SNTConfigurator configurator];
if ((config.syncBaseURL || config.staticRules.count) && ![arguments containsObject:@"--check"] &&
if ((config.syncBaseURL || config.staticRules.count) &&
![arguments containsObject:@"--check"]
#ifdef DEBUG
// DEBUG builds add a --force flag to allow manually adding/removing rules during testing.
&&![arguments containsObject:@"--force"]) {
&& ![arguments containsObject:@"--force"]) {
#else
) {
#endif
Expand Down

0 comments on commit f91a567

Please sign in to comment.