We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 780b6f1 commit 0c3838fCopy full SHA for 0c3838f
lib/storage-client/googleapis.js
@@ -97,6 +97,8 @@ export function parseNotes(content) {
97
export async function parseGoogleapiStorageXml(xml, shouldParseNotes = true) {
98
const doc = new DOMParser().parseFromString(xml, MIME_TYPE?.XML_TEXT ?? 'text/xml');
99
const driverNodes = /** @type {Array<Node|Attr>} */ (
100
+ // @ts-expect-error Misssing Node properties are not needed.
101
+ // https://github.com/xmldom/xmldom/issues/724
102
xpath.select(`//*[local-name(.)='Contents']`, doc)
103
);
104
log.debug(`Parsed ${driverNodes.length} entries from storage XML`);
0 commit comments