Skip to content

Commit 247709c

Browse files
haraldreingruberTakashi Matsuo
authored and
Ace Nassri
committed
docs: fixes small typo (#553)
* docs: Fixes small typo * docs: Add missing gce_startup_script end comment * lint fix * copyright fix Co-authored-by: Takashi Matsuo <[email protected]>
1 parent 3972dea commit 247709c

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

compute/sendgrid.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2015-2016, Google, Inc.
1+
// Copyright 2015 Google, Inc
22
// Licensed under the Apache License, Version 2.0 (the "License");
33
// you may not use this file except in compliance with the License.
44
// You may obtain a copy of the License at
@@ -24,8 +24,7 @@ async function sendgridExample() {
2424
2525
2626
subject: 'Sendgrid test email from Node.js on Google Cloud Platform',
27-
text:
28-
'Well hello! This is a Sendgrid test email from Node.js on Google Cloud Platform.',
27+
text: 'Well hello! This is a Sendgrid test email from Node.js on Google Cloud Platform.',
2928
});
3029
}
3130
sendgridExample();

compute/startupScript.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ async function main(name = 'start-script-example') {
7272
console.log('Operation complete. Waiting for IP');
7373
await pingVM(ip);
7474

75-
console.log(`\n${name} created succesfully`);
75+
console.log(`\n${name} created successfully`);
7676
}
7777

7878
/**
@@ -96,6 +96,7 @@ async function main(name = 'start-script-example') {
9696
}
9797

9898
createVMWithStartupScript();
99+
// [END gce_startup_script]
99100
}
100101

101102
main(...process.argv.slice(2));

compute/test/sendgrid.test.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ describe('sendgrid', () => {
3232
3333
subject:
3434
'Sendgrid test email from Node.js on Google Cloud Platform',
35-
text:
36-
'Well hello! This is a Sendgrid test email from Node.js on Google Cloud Platform.',
35+
text: 'Well hello! This is a Sendgrid test email from Node.js on Google Cloud Platform.',
3736
});
3837
},
3938
},

0 commit comments

Comments
 (0)