diff --git a/packages/angular/cli/commands/doc-impl.ts b/packages/angular/cli/commands/doc-impl.ts index 2330f9c10005..654c3ffc2e54 100644 --- a/packages/angular/cli/commands/doc-impl.ts +++ b/packages/angular/cli/commands/doc-impl.ts @@ -41,13 +41,13 @@ export class DocCommand extends Command { /* tslint:disable-next-line:no-implicit-dependencies */ const currentNgVersion = require('@angular/core').VERSION.major; domain = `v${currentNgVersion}.angular.io`; - } catch (e) {} + } catch (e) { } } let searchUrl = `https://${domain}/api?query=${options.keyword}`; if (options.search) { - searchUrl = `https://www.google.com/search?q=site%3A${domain}+${options.keyword}`; + searchUrl = `https://${domain}/?search=${options.keyword}`; } // We should wrap `open` in a new Promise because `open` is already resolved