diff --git a/library/sources/xml/addXmlToContext.ts b/library/sources/xml/addXmlToContext.ts index de24c71f..a0b59232 100644 --- a/library/sources/xml/addXmlToContext.ts +++ b/library/sources/xml/addXmlToContext.ts @@ -1,7 +1,7 @@ import { Context, updateContext } from "../../agent/Context"; /** - * Adds the XML to the context XML array. + * Adds the XML to the context XML array if it exists, or creates a new array if it doesn't. */ export function addXmlToContext(xml: any, context: Context) { if (Array.isArray(context.xml)) {