Skip to content

Commit 90a0f09

Browse files
Merge pull request #964 from afanasy/master
Fixed example by adding next();
2 parents 6d89446 + 5eae1c5 commit 90a0f09

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/bigquery/job.js

+1
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ nodeutil.inherits(Job, ServiceObject);
182182
* job.getQueryResults()
183183
* .pipe(through2.obj(function (row, enc, next) {
184184
* this.push(JSON.stringify(row) + '\n');
185+
* next();
185186
* }))
186187
* .pipe(fs.createWriteStream('./test/testdata/testfile.json'));
187188
*/

0 commit comments

Comments
 (0)