tangled
alpha
login
or
join now
atscan.net
/
atscand
1
fork
atom
wip
1
fork
atom
overview
issues
pulls
pipelines
update
tree.fail
4 months ago
d3f29332
4eed6519
+2
-4
1 changed file
expand all
collapse all
unified
split
internal
plc
bundle.go
+2
-4
internal/plc/bundle.go
···
130
130
131
131
// Calculate uncompressed hash
132
132
var jsonlData []byte
133
133
-
for i, op := range operations {
133
133
+
for _, op := range operations {
134
134
jsonlData = append(jsonlData, op.RawJSON...)
135
135
-
if i < len(operations)-1 {
136
136
-
jsonlData = append(jsonlData, '\n')
137
137
-
}
135
135
+
jsonlData = append(jsonlData, '\n')
138
136
}
139
137
uncompressedHash := bm.calculateHash(jsonlData)
140
138