From 32ab4ffdd46fd3057b3a9c10c99569c1fcecf342 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Thu, 19 Mar 2020 08:52:53 -0700 Subject: [PATCH] chore: remove snippet leading whitespace (#411) --- packages/google-cloud-compute/README.md | 36 ++++++++++++------------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/packages/google-cloud-compute/README.md b/packages/google-cloud-compute/README.md index ce7b5164ccb..9d6aef03ba6 100644 --- a/packages/google-cloud-compute/README.md +++ b/packages/google-cloud-compute/README.md @@ -55,30 +55,30 @@ npm install @google-cloud/compute ### Using the client library ```javascript - // Imports the Google Cloud client library - const Compute = require('@google-cloud/compute'); +// Imports the Google Cloud client library +const Compute = require('@google-cloud/compute'); - // Creates a client - const compute = new Compute(); +// Creates a client +const compute = new Compute(); - async function quickstart() { - // Create a new VM using the latest OS image of your choice. - const zone = compute.zone('us-central1-c'); +async function quickstart() { + // Create a new VM using the latest OS image of your choice. + const zone = compute.zone('us-central1-c'); - // TODO(developer): choose a name for the VM - // const vmName = 'vm-name'; + // TODO(developer): choose a name for the VM + // const vmName = 'vm-name'; - // Start the VM create task - const [vm, operation] = await zone.createVM(vmName, {os: 'ubuntu'}); - console.log(vm); + // Start the VM create task + const [vm, operation] = await zone.createVM(vmName, {os: 'ubuntu'}); + console.log(vm); - // `operation` lets you check the status of long-running tasks. - await operation.promise(); + // `operation` lets you check the status of long-running tasks. + await operation.promise(); - // Complete! - console.log('Virtual machine created!'); - } - quickstart(); + // Complete! + console.log('Virtual machine created!'); +} +quickstart(); ```