Skip to content

Commit

Permalink
vscode settings in git and changed cos.json to isc.json
Browse files Browse the repository at this point in the history
  • Loading branch information
evshvarov committed Feb 18, 2018
1 parent 8011cdf commit 435d56d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.DS*
.vscode

dev.md

5 changes: 2 additions & 3 deletions sc.code.cls
Original file line number Diff line number Diff line change
Expand Up @@ -229,11 +229,10 @@ ClassMethod gln() [ CodeMode = expression, Private ]
"^"_$classname()
}

ClassMethod init()
ClassMethod init(confile ="isc.json")
{
#define confile "/cos.json"
set stream=##class(%Stream.FileCharacter).%New()
set sc=stream.LinkToFile(..workdir()_$$$confile)
set sc=stream.LinkToFile(..workdir()_"/"_confile)
s conf={}.%FromJSON(stream.Read($$$MaxCacheInt))

s gln=..gln()
Expand Down

0 comments on commit 435d56d

Please sign in to comment.