This commit is contained in:
Ash Wilson
2017-08-03 19:49:50 -04:00
parent dc9cb76fa4
commit 08a7fab4f9

View File

@@ -71,7 +71,7 @@ function runCoreRenderProcessTests (callback) {
const cp = childProcess.spawn(executablePath, testArguments, {stdio: 'inherit', env: testEnv})
cp.on('error', error => {
try {
const projectSpecLog = fs.readFileSync(path.join(process.env.HOME or 'C:\\Users\\appveyor', 'project-spec.log'), {encoding: 'utf8'})
const projectSpecLog = fs.readFileSync(path.join(process.env.HOME || 'C:\\Users\\appveyor', 'project-spec.log'), {encoding: 'utf8'})
console.log(`project-spec log:\n${projectSpecLog}\n`)
} catch (e) {
console.error(`Unable to open log file:\n${e.stack}`)