Skip to content

Commit

Permalink
Log dist-url.
Browse files Browse the repository at this point in the history
The default download URL can be overridden by `--dist-url` or one of the
`*_MIRROR` environment variables.  Log the URL to ease troubleshooting.

Fixes: #1169
PR-URL: #1170
Reviewed-By: Refael Ackermann <refack@gmail.com>
  • Loading branch information
bnoordhuis committed May 17, 2017
1 parent 386746c commit 241752f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/process-release.js
Expand Up @@ -74,6 +74,8 @@ function processRelease (argv, gyp, defaultVersion, defaultRelease) {
}
}

if (overrideDistUrl)
log.verbose('download', 'using dist-url', overrideDistUrl)

if (overrideDistUrl)
distBaseUrl = overrideDistUrl.replace(/\/+$/, '')
Expand Down

0 comments on commit 241752f

Please sign in to comment.