Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
.pipe(concat(function (data) {
const commits = commitsFilter(data)
if (!commits || !commits.length) {
reject(null)
} else {
resolve(commits)
}
}))
})
.pipe(concat(function (data) {
const commits = commitsFilter(data)
if (!commits || !commits.length) {
reject(null)
} else {
resolve(commits)
}
}))
})