@vtfk/azure-blob-client
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -255,2 +255,3 @@ /* | ||
* @param {string?} options.containerName The name of the Azure storage account container name | ||
* @param {string?} options.excludeBlobNames Blob names that will NOT be removed | ||
* @returns { Promise<String> | Promise<[String]>} The deleted paths | ||
@@ -273,4 +274,5 @@ */ | ||
if (!blob.path) continue; | ||
if (options.excludeBlobNames && Array.isArray(options.excludeBlobNames) && options.excludeBlobNames.includes(blob.name)) continue; | ||
await containerClient.getBlockBlobClient(blob.path).deleteIfExists(options); | ||
paths.push(blob.path); | ||
await containerClient.getBlockBlobClient(blob.path).deleteIfExists(options); | ||
} | ||
@@ -277,0 +279,0 @@ |
{ | ||
"name": "@vtfk/azure-blob-client", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "A client for working with Azure storage blobs", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
17696
295