You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
matchesStr+=fmt.Sprintf(" (Including %d on unsupported code hosts.)", unsupportedCount)
490
-
}
491
-
} else {
492
-
ifunsupportedCount>0 {
493
-
matchesStr+=" (Some repositories were filtered out because their code host is not supported by campaigns. Use -include-unsupported to generate patches for them anyways.)"
494
-
}
495
-
}
496
-
logger.Infof("%s\n", matchesStr)
497
-
498
-
iflen(repos) ==0&&!*verbose {
499
-
yellow.Fprintf(os.Stderr, "WARNING: No repositories matched by scopeQuery\n")
a.Infof("Skipping repository %s because we couldn't determine default branch.\n", r)
248
+
}
249
+
unsupportedCount:=len(unsupported)
250
+
varmatchesStrstring
251
+
ifrepoCount==1 {
252
+
matchesStr=fmt.Sprintf("%d repository matches the scopeQuery.", repoCount)
253
+
} else {
254
+
varwarnStrstring
255
+
ifrepoCount==0 {
256
+
warnStr="WARNING: "
257
+
}
258
+
matchesStr=fmt.Sprintf("%s%d repositories match the scopeQuery.", warnStr, repoCount)
259
+
}
260
+
ifunsupportedCount>0 {
261
+
matchesStr+=fmt.Sprintf("\n\n%d repositories were filtered out because they are on a codehost not supported by campaigns. (use -include-unsupported to generate patches for them anyway):\n", unsupportedCount)
0 commit comments