diff --git a/samples/sendgrid.js b/samples/sendgrid.js index 87a448ac..60a783bd 100644 --- a/samples/sendgrid.js +++ b/samples/sendgrid.js @@ -1,4 +1,4 @@ -// Copyright 2015-2016, Google, Inc. +// Copyright 2015 Google, Inc // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at @@ -24,8 +24,7 @@ async function sendgridExample() { to: 'to_email@example.com', from: 'from_email@example.com', subject: 'Sendgrid test email from Node.js on Google Cloud Platform', - text: - 'Well hello! This is a Sendgrid test email from Node.js on Google Cloud Platform.', + text: 'Well hello! This is a Sendgrid test email from Node.js on Google Cloud Platform.', }); } sendgridExample(); diff --git a/samples/startupScript.js b/samples/startupScript.js index 9a3a5a4d..d433560c 100644 --- a/samples/startupScript.js +++ b/samples/startupScript.js @@ -72,7 +72,7 @@ async function main(name = 'start-script-example') { console.log('Operation complete. Waiting for IP'); await pingVM(ip); - console.log(`\n${name} created succesfully`); + console.log(`\n${name} created successfully`); } /** @@ -96,6 +96,7 @@ async function main(name = 'start-script-example') { } createVMWithStartupScript(); + // [END gce_startup_script] } main(...process.argv.slice(2)); diff --git a/samples/test/sendgrid.test.js b/samples/test/sendgrid.test.js index 1962c513..217cc8a1 100644 --- a/samples/test/sendgrid.test.js +++ b/samples/test/sendgrid.test.js @@ -32,8 +32,7 @@ describe('sendgrid', () => { from: 'from_email@example.com', subject: 'Sendgrid test email from Node.js on Google Cloud Platform', - text: - 'Well hello! This is a Sendgrid test email from Node.js on Google Cloud Platform.', + text: 'Well hello! This is a Sendgrid test email from Node.js on Google Cloud Platform.', }); }, }, diff --git a/src/index.js b/src/index.js index abf4c34b..cd0fd4c6 100644 --- a/src/index.js +++ b/src/index.js @@ -2404,9 +2404,8 @@ Compute.prototype.getDisksStream = paginator.streamify('getDisks'); * }); */ -Compute.prototype.getInstanceGroupsStream = paginator.streamify( - 'getInstanceGroups' -); +Compute.prototype.getInstanceGroupsStream = + paginator.streamify('getInstanceGroups'); /** * Get a list of {@link Firewall} objects as a readable object stream. @@ -2465,9 +2464,8 @@ Compute.prototype.getFirewallsStream = paginator.streamify('getFirewalls'); * this.end(); * }); */ -Compute.prototype.getHealthChecksStream = paginator.streamify( - 'getHealthChecks' -); +Compute.prototype.getHealthChecksStream = + paginator.streamify('getHealthChecks'); /** * Get a list of {@link Image} objects as a readable object stream. @@ -2526,9 +2524,8 @@ Compute.prototype.getImagesStream = paginator.streamify('getImages'); * this.end(); * }); */ -Compute.prototype.getMachineTypesStream = paginator.streamify( - 'getMachineTypes' -); +Compute.prototype.getMachineTypesStream = + paginator.streamify('getMachineTypes'); /** * Get a list of {@link Network} objects as a readable object stream. diff --git a/src/zone.js b/src/zone.js index 3f54fd65..81851e46 100644 --- a/src/zone.js +++ b/src/zone.js @@ -1540,9 +1540,8 @@ Zone.prototype.getDisksStream = paginator.streamify('getDisks'); * this.end(); * }); */ -Zone.prototype.getInstanceGroupsStream = paginator.streamify( - 'getInstanceGroups' -); +Zone.prototype.getInstanceGroupsStream = + paginator.streamify('getInstanceGroups'); /** * Get a list of {@link MachineType} objects for this zone as a