File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818'use strict' ;
1919
2020const path = require ( `path` ) ;
21- const storage = require ( `@google-cloud/storage` ) ( ) ;
21+ const { Storage } = require ( `@google-cloud/storage` ) ;
2222const test = require ( `ava` ) ;
2323const uuid = require ( `uuid` ) ;
2424
2525const { runAsync} = require ( `@google-cloud/nodejs-repo-tools` ) ;
2626
27+ const storage = new Storage ( ) ;
2728const bucketName = `nodejs-docs-samples-test-${ uuid . v4 ( ) } ` ;
2829const cmd = `node recognize.js` ;
2930const cwd = path . join ( __dirname , `..` ) ;
Original file line number Diff line number Diff line change 1818'use strict' ;
1919
2020const path = require ( `path` ) ;
21- const storage = require ( `@google-cloud/storage` ) ( ) ;
21+ const { Storage } = require ( `@google-cloud/storage` ) ;
2222const test = require ( `ava` ) ;
2323const uuid = require ( `uuid` ) ;
2424
2525const { runAsync} = require ( `@google-cloud/nodejs-repo-tools` ) ;
2626
27+ const storage = new Storage ( ) ;
2728const bucketName = `nodejs-docs-samples-test-${ uuid . v4 ( ) } ` ;
2829const cmd = `node recognize.v1p1beta1.js` ;
2930const cwd = path . join ( __dirname , `..` ) ;
You can’t perform that action at this time.
0 commit comments