tfw your diagnostic tests don't even run because of a linter error

This commit is contained in:
Ash Wilson 2017-08-03 19:07:52 -04:00
parent 7b61d4f62f
commit dc9cb76fa4
No known key found for this signature in database
GPG Key ID: 437900036C5A4049
2 changed files with 2 additions and 2 deletions

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 || 'C:\\Users\\appveyor', 'project-spec.log'), {encoding: 'utf8'})
const projectSpecLog = fs.readFileSync(path.join(process.env.HOME or '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}`)

View File

@ -8,7 +8,7 @@ path = require 'path'
GitRepository = require '../src/git-repository'
logToFile = (text) ->
fs.appendFileSync path.join(process.env.HOME || 'C:\\Users\\appveyor', 'project-spec.log'), text
fs.appendFileSync path.join(process.env.HOME or 'C:\\Users\\appveyor', 'project-spec.log'), text
describe "Project", ->
beforeEach ->