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 Oct 21, 2019
1 parent 5a83630 commit 032db2a
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 032db2a

Please sign in to comment.