Skip to content

Commit

Permalink
fix: Correct a comment in sample regarding asynchronous log writing (#…
Browse files Browse the repository at this point in the history
…1189)

* fix: Correct a comment in sample regarding asynchronous log writing

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* Fix a comment to reflect proper behaviour

* Remove the synchronously wording from a comment

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
losalex and gcf-owl-bot[bot] authored Dec 2, 2021
1 parent d31df06 commit c4abb7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/logs.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ async function writeLogEntry(logName) {
// Asynchronously batch write the log entries
await log.write([text_entry, json_Entry]);

// Asynchronously let the logging library dispatch logs
// Let the logging library dispatch logs
log.write(text_entry);

console.log(`Wrote to ${logName}`);
Expand Down

0 comments on commit c4abb7e

Please sign in to comment.