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

fix: throw on invalid credentials #281

Merged
merged 2 commits into from
Feb 14, 2019
Merged

fix: throw on invalid credentials #281

merged 2 commits into from
Feb 14, 2019

Conversation

yoshi-automation
Copy link
Contributor

This PR was generated using Autosynth. 🌈

Here's the log from Synthtool:

synthtool > Executing /tmpfs/src/git/autosynth/working_repo/synth.py.
synthtool > Ensuring dependencies.
synthtool > Pulling artman image.
latest: Pulling from googleapis/artman
Digest: sha256:5fd9aee1d82a00cebf425c8fa431f5457539562f5867ad9c54370f0ec9a7ccaa
Status: Image is up to date for googleapis/artman:latest
synthtool > Cloning googleapis.
synthtool > Running generator for google/cloud/dialogflow/artman_dialogflow_v2.yaml.
synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/js/dialogflow-v2.
synthtool > Running generator for google/cloud/dialogflow/artman_dialogflow_v2beta1.yaml.
synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/js/dialogflow-v2beta1.
.eslintignore
.eslintrc.yml
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/feature_request.md
.github/ISSUE_TEMPLATE/support_request.md
.jsdoc.js
.kokoro/common.cfg
.kokoro/continuous/node10/common.cfg
.kokoro/continuous/node10/test.cfg
.kokoro/continuous/node11/common.cfg
.kokoro/continuous/node11/test.cfg
.kokoro/continuous/node6/common.cfg
.kokoro/continuous/node6/test.cfg
.kokoro/continuous/node8/common.cfg
.kokoro/continuous/node8/docs.cfg
.kokoro/continuous/node8/lint.cfg
.kokoro/continuous/node8/samples-test.cfg
.kokoro/continuous/node8/system-test-grpcjs.cfg
.kokoro/continuous/node8/system-test.cfg
.kokoro/continuous/node8/test.cfg
.kokoro/docs.sh
.kokoro/lint.sh
.kokoro/presubmit/node10/common.cfg
.kokoro/presubmit/node10/test.cfg
.kokoro/presubmit/node11/common.cfg
.kokoro/presubmit/node11/test.cfg
.kokoro/presubmit/node6/common.cfg
.kokoro/presubmit/node6/test.cfg
.kokoro/presubmit/node8/common.cfg
.kokoro/presubmit/node8/docs.cfg
.kokoro/presubmit/node8/lint.cfg
.kokoro/presubmit/node8/samples-test.cfg
.kokoro/presubmit/node8/system-test-grpcjs.cfg
.kokoro/presubmit/node8/system-test.cfg
.kokoro/presubmit/node8/test.cfg
.kokoro/presubmit/windows/common.cfg
.kokoro/presubmit/windows/test.cfg
.kokoro/publish.sh
.kokoro/release/publish.cfg
.kokoro/samples-test.sh
.kokoro/system-test.sh
.kokoro/test.bat
.kokoro/test.sh
.kokoro/trampoline.sh
.nycrc
.prettierignore
.prettierrc
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
codecov.yaml
renovate.json
synthtool > Replaced '@google-cloud\\/dialogflow' in src/v2beta1/knowledge_bases_client.js.
synthtool > Replaced '@google-cloud\\/dialogflow' in src/v2beta1/contexts_client.js.
synthtool > Replaced '@google-cloud\\/dialogflow' in src/v2beta1/documents_client.js.
synthtool > Replaced '@google-cloud\\/dialogflow' in src/v2beta1/entity_types_client.js.
synthtool > Replaced '@google-cloud\\/dialogflow' in src/v2beta1/session_entity_types_client.js.
synthtool > Replaced '@google-cloud\\/dialogflow' in src/v2beta1/sessions_client.js.
synthtool > Replaced '@google-cloud\\/dialogflow' in src/v2beta1/intents_client.js.
synthtool > Replaced '@google-cloud\\/dialogflow' in src/v2beta1/agents_client.js.
synthtool > Replaced '@google-cloud\\/dialogflow' in src/v2/contexts_client.js.
synthtool > Replaced '@google-cloud\\/dialogflow' in src/v2/entity_types_client.js.
synthtool > Replaced '@google-cloud\\/dialogflow' in src/v2/session_entity_types_client.js.
synthtool > Replaced '@google-cloud\\/dialogflow' in src/v2/sessions_client.js.
synthtool > Replaced '@google-cloud\\/dialogflow' in src/v2/intents_client.js.
synthtool > Replaced '@google-cloud\\/dialogflow' in src/v2/agents_client.js.
npm WARN deprecated calmcard@0.1.1: no longer maintained
npm WARN deprecated nopter@0.3.0: try optionator
npm WARN deprecated urlobj@0.0.11: use universal-url, minurl, relateurl, url-relation
npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.
npm WARN deprecated text-encoding@0.6.4: no longer maintained

> grpc@1.18.0 install /tmpfs/src/git/autosynth/working_repo/node_modules/grpc
> node-pre-gyp install --fallback-to-build --library=static_library

node-pre-gyp WARN Using needle for node-pre-gyp https download 
[grpc] Success: "/tmpfs/src/git/autosynth/working_repo/node_modules/grpc/src/node/extension_binary/node-v57-linux-x64-glibc/grpc_node.node" is installed via remote

> protobufjs@6.8.8 postinstall /tmpfs/src/git/autosynth/working_repo/node_modules/protobufjs
> node scripts/postinstall

npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.7 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

added 1423 packages from 1303 contributors and audited 4883 packages in 35.939s
found 4 vulnerabilities (3 low, 1 high)
  run `npm audit fix` to fix them, or `npm audit` for details

> dialogflow@0.8.1 fix /tmpfs/src/git/autosynth/working_repo
> eslint '**/*.js' --fix


/tmpfs/src/git/autosynth/working_repo/samples/detect.js
   27:30  error  "dialogflow" is not found  node/no-missing-require
  103:30  error  "dialogflow" is not found  node/no-missing-require
  138:30  error  "dialogflow" is not found  node/no-missing-require
  179:30  error  "dialogflow" is not found  node/no-missing-require
  245:30  error  "dialogflow" is not found  node/no-missing-require
  289:24  error  "uuid/v1" is not found     node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/detect.v2beta1.js
   19:27  error  "uuid/v1" is not found     node/no-missing-require
   26:30  error  "dialogflow" is not found  node/no-missing-require
   56:30  error  "dialogflow" is not found  node/no-missing-require
   79:30  error  "dialogflow" is not found  node/no-missing-require
  106:30  error  "dialogflow" is not found  node/no-missing-require
  135:30  error  "dialogflow" is not found  node/no-missing-require
  178:30  error  "dialogflow" is not found  node/no-missing-require
  211:30  error  "dialogflow" is not found  node/no-missing-require
  236:30  error  "dialogflow" is not found  node/no-missing-require
  263:30  error  "dialogflow" is not found  node/no-missing-require
  331:30  error  "dialogflow" is not found  node/no-missing-require
  380:30  error  "dialogflow" is not found  node/no-missing-require
  443:30  error  "dialogflow" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/quickstart.js
  20:28  error  "dialogflow" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/resource.js
   25:30  error  "dialogflow" is not found  node/no-missing-require
   51:30  error  "dialogflow" is not found  node/no-missing-require
   77:30  error  "dialogflow" is not found  node/no-missing-require
  105:30  error  "dialogflow" is not found  node/no-missing-require
  134:30  error  "dialogflow" is not found  node/no-missing-require
  163:30  error  "dialogflow" is not found  node/no-missing-require
  192:30  error  "dialogflow" is not found  node/no-missing-require
  237:30  error  "dialogflow" is not found  node/no-missing-require
  289:30  error  "dialogflow" is not found  node/no-missing-require
  312:30  error  "dialogflow" is not found  node/no-missing-require
  340:30  error  "dialogflow" is not found  node/no-missing-require
  371:30  error  "dialogflow" is not found  node/no-missing-require
  405:30  error  "dialogflow" is not found  node/no-missing-require
  447:30  error  "dialogflow" is not found  node/no-missing-require
  476:30  error  "dialogflow" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/system-test/detect.test.js
  19:26  error  "chai" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/system-test/detect.v2beta1.test.js
  19:26  error  "chai" is not found     node/no-missing-require
  21:22  error  "uuid/v4" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/system-test/resource.test.js
  19:26  error  "chai" is not found  node/no-missing-require

✖ 39 problems (39 errors, 0 warnings)

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! dialogflow@0.8.1 fix: `eslint '**/*.js' --fix`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the dialogflow@0.8.1 fix script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/kbuilder/.npm/_logs/2019-02-13T12_13_52_512Z-debug.log
synthtool > Cleaned up 2 temporary directories.
synthtool > Wrote metadata to synth.metadata.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Feb 13, 2019
@codecov
Copy link

codecov bot commented Feb 13, 2019

Codecov Report

Merging #281 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #281   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           1      1           
  Lines           5      5           
=====================================
  Hits            5      5

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 27745a5...ab8091e. Read the comment docs.

@JustinBeckwith JustinBeckwith changed the title [CHANGE ME] Re-generated to pick up changes in the API or client library generator. fix: throw on invalid credentials Feb 14, 2019
@JustinBeckwith JustinBeckwith merged commit d2d3610 into master Feb 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants