From 9eb9ef80dcb79416d35b80cff5edc284c75e92ae Mon Sep 17 00:00:00 2001 From: Esther Guo Date: Wed, 9 Nov 2022 14:18:22 +0800 Subject: [PATCH] Update index.js Fix parenthesis mismatch --- blobs/quickstarts/JavaScript/V12/nodejs/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/blobs/quickstarts/JavaScript/V12/nodejs/index.js b/blobs/quickstarts/JavaScript/V12/nodejs/index.js index f5de4fd3..eca7d2bf 100644 --- a/blobs/quickstarts/JavaScript/V12/nodejs/index.js +++ b/blobs/quickstarts/JavaScript/V12/nodejs/index.js @@ -12,8 +12,7 @@ async function main() { const AZURE_STORAGE_CONNECTION_STRING = process.env.AZURE_STORAGE_CONNECTION_STRING; - if (!AZURE_STORAGE_CONNECTION_STRING) { - throw Error('Azure Storage Connection string not found'); + if (!AZURE_STORAGE_CONNECTION_STRING) throw Error('Azure Storage Connection string not found'); // Create the BlobServiceClient object with connection string const blobServiceClient = BlobServiceClient.fromConnectionString(