Skip to content

Commit

Permalink
chore: remove snippet leading whitespace (#239)
Browse files Browse the repository at this point in the history
  • Loading branch information
chingor13 authored Mar 19, 2020
1 parent c2ea27d commit 2da6274
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions packages/google-cloud-securitycenter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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();

```

Expand Down

0 comments on commit 2da6274

Please sign in to comment.