modify something #1
1 changed files with 4 additions and 1 deletions
|
@ -470,10 +470,13 @@ class UtilityServerStub {
|
|||
* the name of the addXML specific function
|
||||
*/
|
||||
dumpXML(args) {
|
||||
const xmlDumper = new this.mod.datastore.XMLDumper(this.mod.writer);
|
||||
|
||||
if (args.ids === undefined) {
|
||||
throw new Error('Need an object id to add to XML dumper')
|
||||
}
|
||||
|
||||
const xmlDumper = new this.mod.datastore.XMLDumper(this.mod.writer);
|
||||
xmlDumper.AddAuxiliaryData(this.mod.writer);
|
||||
|
||||
let evalArgs
|
||||
args.ids.forEach((id) => {
|
||||
if (isNaN(id)) { evalArgs = '"' + id + '"'; }
|
||||
|
|
Loading…
Reference in a new issue
Test review