[Reporting] Fix browser extraction logging (#31608) (#31645)

This change to the logging helps clarify to the reader what is going on,
the build ID of our Chromium, and where things are laid out in the system.
This commit is contained in:
Tim Sullivan 2019-02-20 17:06:46 -07:00 committed by GitHub
parent d8ae06e549
commit f91336c0b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,8 +34,8 @@ export async function installBrowser(logger, browserConfig, browserType, install
const rawChecksum = await md5(binaryPath).catch(() => '');
if (rawChecksum !== pkg.rawChecksum) {
logger.debug(`Extracting ${browserType} to ${binaryPath}`);
const archive = path.join(browser.paths.archivesPath, pkg.archiveFilename);
logger.debug(`Extracting [${archive}] to [${binaryPath}]`);
await extract(archive, installsPath);
await chmod(binaryPath, '755');
}