weareinreach / InReach

Found duplicate assignments JS-W1032
Bug risk
Minor
10 days agoa year old
Duplicate assignment statement found
 9	let ttl = 0
10	const totalBatches = Math.ceil(batch.length / batchSize)
11	if (batchDescription) {
12		task.output = `Running batches for: ${batchDescription}`13		task.output = `  ${batch.length} total transactions will be split in to ${totalBatches} batches`
14	} else {
15		task.output = `Batch runner: ${batch.length} total transactions will be split in to ${totalBatches} batches`