Skip to content

Commit eea429e

Browse files
committed
Fix issue in class_dataDomain.rb to return early when domain is empty
1 parent 8676c26 commit eea429e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/adiwg/mdtranslator/writers/fgdc/classes/class_dataDomain.rb

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ def writeXML(domainId, inContext = nil)
3333
end
3434
if hDomain.empty?
3535
@NameSpace.issueError(70, domainId)
36+
return
3637
end
3738

3839
outContext = domainId

0 commit comments

Comments
 (0)