mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-20 07:28:08 +03:00
Default to the appveyor home dir
This commit is contained in:
parent
418fe48bad
commit
095f6da379
@ -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, '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}`)
|
||||
|
@ -7,7 +7,7 @@ path = require 'path'
|
||||
GitRepository = require '../src/git-repository'
|
||||
|
||||
logToFile = (text) ->
|
||||
fs.appendFileSync path.join(process.env.HOME, 'project-spec.log'), text
|
||||
fs.appendFileSync path.join(process.env.HOME || 'C:\\Users\\appveyor', 'project-spec.log'), text
|
||||
|
||||
describe "Project", ->
|
||||
beforeEach ->
|
||||
|
Loading…
Reference in New Issue
Block a user