Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
siscon-cli
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Bernardo Sunderhus
siscon-cli
Commits
89759c84
Commit
89759c84
authored
Oct 02, 2017
by
Bernardo Sunderhus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adjusting compatibility issues
parent
dafbeb1a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
config.ts
src/config.ts
+2
-1
tsconfig.json
tsconfig.json
+1
-0
No files found.
src/config.ts
View file @
89759c84
...
@@ -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
()
...
...
tsconfig.json
View file @
89759c84
...
@@ -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"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment