Skip to content

Commit 0b884c5

Browse files
alan-agius4Keen Yee Liau
authored and
Keen Yee Liau
committed
ci: exit with 0 error code when running templates (#12473)
* docs: fix url typo * ci: exit with `0` error code when running templates
1 parent 80163ce commit 0b884c5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ changes to be accepted, the CLA must be signed. It's a quick process, we promise
268268
[coc]: https://github.com/angular/code-of-conduct/blob/master/CODE_OF_CONDUCT.md
269269
[commit-message-format]: https://docs.google.com/document/d/1QrDFcIiPjSLDn3EL15IJygNPiHORgU1_OOAqWjiDU5Y/edit#
270270
[corporate-cla]: http://code.google.com/legal/corporate-cla-v1.0.html
271-
[dev-doc]: ttps://github.com/angular/angular-cli/blob/master/packages/angular/cli/README.md#development-hints-for-working-on-angular-cli
271+
[dev-doc]: https://github.com/angular/angular-cli/blob/master/packages/angular/cli/README.md#development-hints-for-working-on-angular-cli
272272
[GitHub]: https://github.com/angular/angular-cli
273273
[gitter]: https://gitter.im/angular/angular-cli
274274
[individual-cla]: http://code.google.com/legal/individual-cla-v1.0.html

scripts/templates.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ export default async function(_options: {}, logger: logging.Logger): Promise<num
3131
_runTemplate('./templates/readme', '../README.md', logger);
3232
_runTemplate('./templates/contributing', '../CONTRIBUTING.md', logger);
3333

34-
return 1;
34+
return 0;
3535
}

scripts/templates/contributing.ejs

+1-1
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ changes to be accepted, the CLA must be signed. It's a quick process, we promise
257257
[coc]: https://github.com/angular/code-of-conduct/blob/master/CODE_OF_CONDUCT.md
258258
[commit-message-format]: https://docs.google.com/document/d/1QrDFcIiPjSLDn3EL15IJygNPiHORgU1_OOAqWjiDU5Y/edit#
259259
[corporate-cla]: http://code.google.com/legal/corporate-cla-v1.0.html
260-
[dev-doc]: ttps://github.com/angular/angular-cli/blob/master/packages/angular/cli/README.md#development-hints-for-working-on-angular-cli
260+
[dev-doc]: https://github.com/angular/angular-cli/blob/master/packages/angular/cli/README.md#development-hints-for-working-on-angular-cli
261261
[GitHub]: https://github.com/angular/angular-cli
262262
[gitter]: https://gitter.im/angular/angular-cli
263263
[individual-cla]: http://code.google.com/legal/individual-cla-v1.0.html

0 commit comments

Comments
 (0)