Skip to content

Commit

Permalink
chore(deps): update dependency @google-cloud/storage to v2 (#183)
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored and JustinBeckwith committed Sep 10, 2018
1 parent ae39a79 commit 279b932
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion vision/samples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"devDependencies": {
"@google-cloud/nodejs-repo-tools": "^2.3.0",
"@google-cloud/storage": "^1.7.0",
"@google-cloud/storage": "^2.0.0",
"ava": "^0.25.0",
"uuid": "^3.2.1"
},
Expand Down
3 changes: 2 additions & 1 deletion vision/samples/system-test/detect.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,15 @@
'use strict';

const path = require(`path`);
const storage = require(`@google-cloud/storage`)();
const {Storage} = require(`@google-cloud/storage`);
const test = require(`ava`);
const tools = require(`@google-cloud/nodejs-repo-tools`);
const uuid = require(`uuid`);

const vision = require('@google-cloud/vision');
const client = new vision.ImageAnnotatorClient();

const storage = new Storage();
const bucketName = `nodejs-docs-samples-test-${uuid.v4()}`;
const cmd = `node detect.js`;
const cwd = path.join(__dirname, `..`);
Expand Down
3 changes: 2 additions & 1 deletion vision/samples/system-test/detect.v1p3beta1.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@
'use strict';

const path = require(`path`);
const storage = require(`@google-cloud/storage`)();
const {Storage} = require(`@google-cloud/storage`);
const test = require(`ava`);
const tools = require(`@google-cloud/nodejs-repo-tools`);
const uuid = require(`uuid`);

const storage = new Storage();
const bucketName = `nodejs-docs-samples-test-${uuid.v4()}`;
const cmd = `node detect.v1p3beta1.js`;
const cwd = path.join(__dirname, `..`);
Expand Down

0 comments on commit 279b932

Please sign in to comment.