We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ce5bbb commit 688db35Copy full SHA for 688db35
packages/angular/cli/commands/doc-impl.ts
@@ -41,13 +41,13 @@ export class DocCommand extends Command<DocCommandSchema> {
41
/* tslint:disable-next-line:no-implicit-dependencies */
42
const currentNgVersion = require('@angular/core').VERSION.major;
43
domain = `v${currentNgVersion}.angular.io`;
44
- } catch (e) {}
+ } catch (e) { }
45
}
46
47
let searchUrl = `https://${domain}/api?query=${options.keyword}`;
48
49
if (options.search) {
50
- searchUrl = `https://www.google.com/search?q=site%3A${domain}+${options.keyword}`;
+ searchUrl = `https://${domain}/?search=${options.keyword}`;
51
52
53
// We should wrap `open` in a new Promise because `open` is already resolved
0 commit comments