Skip to content

Commit 9ac979a

Browse files
committed
fix(brew): await sha
1 parent 7a29c2d commit 9ac979a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

release/scripts/homebrew.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ async function updateCgFormula(brewDir) {
150150
console.log(files)
151151
const zipFile = files.find(file => file.includes('tar.gz'))
152152
const pathToFile = path.join(pathToDist, zipFile)
153-
const sha256 = calculateSHA256(pathToFile)
153+
const sha256 = await calculateSHA256(pathToFile)
154154
const url = `${CLI_ASSETS_URL}/cg-v${SHORT_VERSION}/${zipFile}`
155155

156156
const templateReplaced = template

0 commit comments

Comments
 (0)