Skip to content

Commit

Permalink
Merge branch 'master' into dependabot/npm_and_yarn/sinon-19.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
KazuCocoa authored Sep 13, 2024
2 parents 2e773a2 + 0c3838f commit 29afc41
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/storage-client/googleapis.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ export function parseNotes(content) {
export async function parseGoogleapiStorageXml(xml, shouldParseNotes = true) {
const doc = new DOMParser().parseFromString(xml, MIME_TYPE?.XML_TEXT ?? 'text/xml');
const driverNodes = /** @type {Array<Node|Attr>} */ (
// @ts-expect-error Misssing Node properties are not needed.
// https://github.com/xmldom/xmldom/issues/724
xpath.select(`//*[local-name(.)='Contents']`, doc)
);
log.debug(`Parsed ${driverNodes.length} entries from storage XML`);
Expand Down

0 comments on commit 29afc41

Please sign in to comment.