Skip to content

Commit

Permalink
Attempt to fix fast-xml-parser
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Coulthard committed Jul 22, 2024
1 parent fd664a7 commit 859ab83
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "zowe-cli-cics-deploy-plugin",
"version": "1.1.1",
"version": "1.1.2",
"description": "IBM CICS Bundle generation and deployment for Zowe CLI",
"repository": {
"type": "git",
Expand Down
5 changes: 3 additions & 2 deletions src/api/BundleContent/Manifest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ export class Manifest {
*
* @returns {object}
* @throws ImperativeError
* @memberof Manifest
* @memberof Manifest
*/
public validate() {
if (!this.manifestExists) {
Expand Down Expand Up @@ -388,7 +388,8 @@ export class Manifest {

try {
// Reading the file worked, so convert the contents into a JSON Object
this.manifestAsJson = XMLParser.parse(xmltext, {ignoreAttributes: false, attributeNamePrefix: "", trimValues: true});
const parser = new XMLParser();
this.manifestAsJson = parser.parse(xmltext, {ignoreAttributes: false, attributeNamePrefix: "", trimValues: true});
}
catch (exception)
{
Expand Down

0 comments on commit 859ab83

Please sign in to comment.