-
Notifications
You must be signed in to change notification settings - Fork 653
Closed
Labels
api: languageIssues related to the Cloud Natural Language API API.Issues related to the Cloud Natural Language API API.
Description
Environment details
- OS: Linux
- Node.js version: v6.8.1
- npm version: 3.10.8
- google-cloud-node version: language / 0.3.0
Steps to reproduce
cd packages/languagenpm run system-test(under proper environment variables)
Failures
1) Language "after all" hook:
TypeError: GCS.getBuckets(...).on is not a function
at Context.<anonymous> (system-test/language.js:60:8)
As I quickly reviewed, GCS.getBuckets(...) seems to return a Promise, not a Stream, and the it returns an Array of buckets instead of stream.
I'm guessing recent packages/common/src/stream-router.js needs to be rewritten to support recent changes to Promise patterns.
cc: @jmdobry
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
api: languageIssues related to the Cloud Natural Language API API.Issues related to the Cloud Natural Language API API.