Skip to content

Commit

Permalink
Update code.cls
Browse files Browse the repository at this point in the history
  • Loading branch information
gevorg95 authored Sep 22, 2019
1 parent f1fbfec commit 9064e79
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions cls/dev/code.cls
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,8 @@ ClassMethod exportGlobals(mask = "") As %Status
{
#include %occInclude
set statement=##class(%SQL.Statement).%New()
set status=statement.%PrepareClassQuery("%SYS.GlobalQuery","NameSpaceListChui")
if $$$ISERR(status) { do $system.OBJ.DisplayError(status) }
set sc=statement.%PrepareClassQuery("%SYS.GlobalQuery","NameSpaceListChui")
if $$$ISERR(sc) { do $system.OBJ.DisplayError(status) }
set resultset=statement.%Execute($namespace)
while resultset.%Next() {
set gname = resultset.%Get("Name")
Expand All @@ -194,15 +194,14 @@ ClassMethod exportGlobals(mask = "") As %Status
continue:$$$isPercented(gname)
continue:$$$isMapped(gname)
continue:'..checkMasks(gname, mask)
w gname,!

set gname = gname_".GBL"
set filename = ..filename(gname)
do ..mkdir(gname)

set sc = ..fixXMLLine(gname, filename_".xml")
}
return status
return sc
}

ClassMethod patch(filename = "", commitFrom = "", commitTo = "") As %Status
Expand Down

0 comments on commit 9064e79

Please sign in to comment.