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
131
// Calculate uncompressed hash
132
var jsonlData []byte
133
-
for i, op := range operations {
134
jsonlData = append(jsonlData, op.RawJSON...)
135
-
if i < len(operations)-1 {
136
-
jsonlData = append(jsonlData, '\n')
137
-
}
138
}
139
uncompressedHash := bm.calculateHash(jsonlData)
140
···
130
131
// Calculate uncompressed hash
132
var jsonlData []byte
133
+
for _, op := range operations {
134
jsonlData = append(jsonlData, op.RawJSON...)
135
+
jsonlData = append(jsonlData, '\n')
0
0
136
}
137
uncompressedHash := bm.calculateHash(jsonlData)
138