Skip to content

Commit

Permalink
Deprecate checksum strings in favor of checksum objects
Browse files Browse the repository at this point in the history
  • Loading branch information
NeoTheThird committed Nov 20, 2020
1 parent 4fc475e commit 7087b0b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/devices.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,6 @@ function installStep(step) {
return download(
step.files.map(file => ({
...file,
checksum:
file.checksum && file.checksum.sum && file.checksum.algorithm
? file.checksum
: file.checksum
? { sum: file.checksum, algorithm: "sha256" }
: null,
partition: file.type,
path: path.join(
cachePath,
Expand Down

0 comments on commit 7087b0b

Please sign in to comment.