expand ~/.pkg-cache to show user full path
This commit is contained in:
parent
e2d4b88481
commit
c327d0e777
@ -1,5 +1,4 @@
|
||||
/lib
|
||||
/patches/*.patch
|
||||
/test
|
||||
.eslintignore
|
||||
.gitignore
|
||||
|
||||
@ -7,6 +7,7 @@ import build from './build.js';
|
||||
import { download } from './cloud.js';
|
||||
import { exists } from 'fs-promise';
|
||||
import patchesJson from '../patches/patches.json';
|
||||
import path from 'path';
|
||||
import semver from 'semver';
|
||||
import { version } from '../package.json';
|
||||
|
||||
@ -41,7 +42,7 @@ export async function need ({
|
||||
if (await exists(built)) return built;
|
||||
}
|
||||
if (!forceBuild) {
|
||||
log.info('Downloading base binaries to \'~/.pkg-cache\'...');
|
||||
log.info('Downloading base binaries to:', path.dirname(downloaded));
|
||||
const remote = remotePlace({ arch, nodeVersion, platform, version });
|
||||
if (await download(remote, downloaded)) return downloaded;
|
||||
downloadFailed = true;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user