We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 51b9258 + 386467b commit f085311Copy full SHA for f085311
cleanup/artifactCleanup/artifactCleanup.groovy
@@ -276,16 +276,16 @@ private def getSkippedPaths(String[] repos) {
276
// Simplify list to have only parent paths
277
def paths = []
278
for (path in pathsTmp.sort{ it }) {
279
- if (paths.size == 0 || ! path.startsWith(paths[-1])) {
+ if (paths.size() == 0 || ! path.startsWith(paths[-1])) {
280
if (log.isTraceEnabled()){
281
log.trace "skip added for " + repoKey + ":" + path
282
}
283
paths.add(path)
284
285
286
287
- if (paths.size > 0){
288
- skip[repoKey] = paths.toArray(new String[paths.size])
+ if (paths.size() > 0){
+ skip[repoKey] = paths.toArray(new String[paths.size()])
289
290
291
def timeStop = new Date()
0 commit comments