Skip to content

Commit

Permalink
lib,install: always download SHA sums on Windows
Browse files Browse the repository at this point in the history
PR-URL: #1926
Reviewed-By: João Reis <reis@janeasystems.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
  • Loading branch information
s100 authored and rvagg committed Nov 18, 2019
1 parent 69056d0 commit 7edf765
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,8 @@ function install (fs, gyp, argv, callback) {
var installVersionPath = path.resolve(devDir, 'installVersion')
fs.writeFile(installVersionPath, gyp.package.installVersion + '\n', deref)

// Only download SHASUMS.txt if not using tarPath override
if (!tarPath) {
// Only download SHASUMS.txt if we downloaded something in need of SHA verification
if (!tarPath || win) {
// download SHASUMS.txt
async++
downloadShasums(deref)
Expand Down

0 comments on commit 7edf765

Please sign in to comment.