Commit 89759c84 authored by Bernardo Sunderhus's avatar Bernardo Sunderhus

adjusting compatibility issues

parent dafbeb1a
...@@ -2,7 +2,8 @@ import * as fs from 'fs' ...@@ -2,7 +2,8 @@ import * as fs from 'fs'
import { join } from 'path' import { join } from 'path'
import * as chalk from 'chalk' import * as chalk from 'chalk'
const path = join(process.env.HOMEPATH, '.siscon-cli.json') const HOME = process.env.HOME || process.env.HOMEPATH || process.env.USERPROFILE
const path = join(HOME, '.siscon-cli.json')
if (!fs.existsSync(path)) writeDefaultConfigFile() if (!fs.existsSync(path)) writeDefaultConfigFile()
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
"noImplicitThis": true, "noImplicitThis": true,
"suppressImplicitAnyIndexErrors": true, "suppressImplicitAnyIndexErrors": true,
"moduleResolution": "node", "moduleResolution": "node",
"newLine": "LF",
"target": "es6", "target": "es6",
"lib": [ "lib": [
"es5", "es5",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment