From 1dcca1bc4485bdca905dfba2a087593ef437617d Mon Sep 17 00:00:00 2001 From: Michael Prentice Date: Wed, 11 Jan 2017 12:42:33 -0500 Subject: [PATCH] fix(util): broken URL to auth docs See https://googlecloudplatform.github.io/google-cloud-node/#//docs/guides/authentication opens https://googlecloudplatform.github.io/google-cloud-node/#/ and not the auth docs removing the extra `/` properly routes to https://googlecloudplatform.github.io/google-cloud-node/#/docs/google-cloud/0.45.0/guides/authentication Relates to #1405 --- packages/common/src/util.js | 2 +- packages/common/test/util.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/common/src/util.js b/packages/common/src/util.js index 830d36a07ea..9f90ca43ea3 100644 --- a/packages/common/src/util.js +++ b/packages/common/src/util.js @@ -48,7 +48,7 @@ var errorMessage = format([ 'connection.' ].join(' '), { baseUrl: 'https://googlecloudplatform.github.io/google-cloud-node/#', - path: '/docs/guides/authentication' + path: 'docs/guides/authentication' }); var missingProjectIdError = new Error(errorMessage); diff --git a/packages/common/test/util.js b/packages/common/test/util.js index 00135f2bb79..7a2e5e217cf 100644 --- a/packages/common/test/util.js +++ b/packages/common/test/util.js @@ -110,7 +110,7 @@ describe('common/util', function() { 'an authenticated connection.' ].join(' '), { baseUrl: 'https://googlecloudplatform.github.io/google-cloud-node/#', - path: '/docs/guides/authentication' + path: 'docs/guides/authentication' }); var missingProjectIdError = new Error(errorMessage);