-
Notifications
You must be signed in to change notification settings - Fork 2k
fix(retail): add region tag for JS - search simple query #4105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
bf9bdd0
4248f5c
79c293e
fd745e2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -12,6 +12,8 @@ | |
| // See the License for the specific language governing permissions and | ||
| // limitations under the License. | ||
|
|
||
| // [START retail_search_simple_query] | ||
|
|
||
| 'use strict'; | ||
|
|
||
| async function main() { | ||
|
|
@@ -76,3 +78,5 @@ process.on('unhandledRejection', err => { | |
| }); | ||
|
|
||
| main(); | ||
|
|
||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Similar to the Style Guide ReferencesFootnotes
|
||
| // [END retail_search_simple_query] | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider removing this blank line. The Samples Style Guide, referenced in the PR checklist, indicates that
[START ...]region tags should be placed immediately before the code block they designate1. Examples in the guide do not show an intervening blank line. Removing this line would align the formatting more closely with the documented conventions.Style Guide References
Footnotes
The Google Samples Style Guide section on Region Tags states to 'Place the [START ...] tag immediately before the code block'. Examples provided throughout the guide consistently show region tags directly adjacent to the code, without extra blank lines. ↩