File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ function detect(options, callback) {
83
83
distribution : 0
84
84
} ,
85
85
86
- ppRegExp = / .* \. ( m o b i l e p r o v i s i o n | p r o v i s i o n p r o f i l e ) $ / ;
86
+ ppRegExp = / .* \. ( m o b i l e p r o v i s i o n | p r o v i s i o n p r o f i l e ) $ / ;
87
87
88
88
89
89
if ( options . watch ) {
@@ -141,7 +141,7 @@ function detect(options, callback) {
141
141
function detectIssues ( ) {
142
142
results . issues = [ ] ;
143
143
144
- if ( results . provisioning . development . length > 0 && ! valid . development ) {
144
+ if ( results . provisioning . development . length > 0 && ! valid . development ) {
145
145
results . issues . push ( {
146
146
id : 'IOS_NO_VALID_DEVELOPMENT_PROVISIONING_PROFILES' ,
147
147
type : 'warning' ,
@@ -368,8 +368,8 @@ function unwatch(profileDir) {
368
368
var profileDirs = getExistingProvisioningProfileDirectories ( profileDir ) ;
369
369
370
370
for ( const profileDir of profileDirs ) {
371
- if ( ! watchers [ profileDir ] ) return ;
372
-
371
+ if ( ! watchers [ profileDir ] ) continue ;
372
+
373
373
if ( -- watchers [ profileDir ] . count <= 0 ) {
374
374
watchers [ profileDir ] . handle . close ( ) ;
375
375
delete watchers [ profileDir ] ;
You can’t perform that action at this time.
0 commit comments