Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions blobs/quickstarts/JavaScript/V12/nodejs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down