From 2da6274bd7d3cf9a54ba9e323fe412de4a6b6690 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Thu, 19 Mar 2020 08:56:38 -0700 Subject: [PATCH] chore: remove snippet leading whitespace (#239) --- .../google-cloud-securitycenter/README.md | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/packages/google-cloud-securitycenter/README.md b/packages/google-cloud-securitycenter/README.md index 9eb9245eac0..ff7d74c2bcd 100644 --- a/packages/google-cloud-securitycenter/README.md +++ b/packages/google-cloud-securitycenter/README.md @@ -63,23 +63,23 @@ npm install @google-cloud/security-center ### Using the client library ```javascript - const sc = require('@google-cloud/security-center'); - - // Create a client - const client = new sc.SecurityCenterClient(); - - async function quickstart() { - // TODO(developer): choose the organization to use - // const organization = 'your-organization'; - const [source] = await client.createSource({ - parent: client.organizationPath(organization), - source: {}, - }); - // The newly created source. - console.log('Source created.'); - console.log(source); - } - quickstart(); +const sc = require('@google-cloud/security-center'); + +// Create a client +const client = new sc.SecurityCenterClient(); + +async function quickstart() { + // TODO(developer): choose the organization to use + // const organization = 'your-organization'; + const [source] = await client.createSource({ + parent: client.organizationPath(organization), + source: {}, + }); + // The newly created source. + console.log('Source created.'); + console.log(source); +} +quickstart(); ```