Skip to content
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.

Commit

Permalink
docs: fix productSearch example (#285)
Browse files Browse the repository at this point in the history
  • Loading branch information
crwilcox authored and JustinBeckwith committed Dec 5, 2018
1 parent e7a26fc commit f142cd6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
1 change: 1 addition & 0 deletions .kokoro/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,6 @@ cd $(dirname $0)/..

npm install
npm test
./node_modules/nyc/bin/nyc.js report

bash $KOKORO_GFILE_DIR/codecov.sh
3 changes: 2 additions & 1 deletion .nycrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"exclude": [
"src/*{/*,/**/*}.js",
"src/*/v*/*.js",
"test/**/*.js"
"test/**/*.js",
"build/test"
],
"watermarks": {
"branches": [
Expand Down
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,12 @@
"Google Cloud Vision API"
],
"scripts": {
"cover": "nyc --reporter=lcov mocha test/*.js && nyc report",
"docs": "jsdoc -c .jsdoc.js",
"generate-scaffolding": "repo-tools generate all && repo-tools generate lib_samples_readme -l samples/ --config ../.cloud-repo-tools.json",
"lint": "eslint '**/*.js'",
"samples-test": "cd samples/ && npm link ../ && npm test && cd ../",
"system-test": "mocha system-test/*.js smoke-test/*.js --timeout 600000",
"test-no-cover": "mocha test/*.js",
"test": "npm run cover",
"test": "nyc mocha",
"fix": "eslint --fix '**/*.js'"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -871,7 +871,7 @@ module.exports = apiVersion => {
* };
*
* client
* .webDetection(request)
* .productSearch(request)
* .then(response => {
* // doThingsWith(response);
* })
Expand Down

0 comments on commit f142cd6

Please sign in to comment.