expand ~/.pkg-cache to show user full path

This commit is contained in:
igorklopov 2016-09-01 11:38:02 +03:00
parent e2d4b88481
commit c327d0e777
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,4 @@
/lib
/patches/*.patch
/test
.eslintignore
.gitignore

View File

@ -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;