angular-cn/aio/aio-builds-setup/dockerbuild/scripts-js
Georgios Kalpakas 5a417b8514 feat(aio): implement a way to check and update a PR\'s preview visibility
Previously, `BuildCreator#changePrVisibility()` would throw an error if the PR's
visibility was already up-to-date or if the PR directory did not exist (e.g. was
removed). This method was only used from inside `BuildCreator#create()`, which
had already checked for the existence of the directories.

This commit renames `changePrVisibility()` to `updatePrVisibility()` and makes
it more "forgiving" (i.e. it will only throw if both public and non-public
directories exist). This allows it to be used on events that may or may not have
caused the PR's visibility to change (e.g. a GitHub webhook triggered whenever a
PR's labels change).
2017-07-10 12:30:45 +01:00
..
lib feat(aio): implement a way to check and update a PR\'s preview visibility 2017-07-10 12:30:45 +01:00
test feat(aio): implement a way to check and update a PR\'s preview visibility 2017-07-10 12:30:45 +01:00
.gitignore build(aio): update project config for @angular/cli v1.0.0 2017-03-27 11:55:26 -07:00
package.json refactor(aio): drop `run` (from `yarn run`), rename script and remove unnecessary cmds 2017-05-12 11:37:21 -07:00
tsconfig.json ci(aio): add initial implementation for aio-builds setup 2017-03-07 18:24:45 -08:00
tslint.json ci(aio): add initial implementation for aio-builds setup 2017-03-07 18:24:45 -08:00
yarn.lock build(aio): upgrade preview server dependencies 2017-06-23 11:54:20 -07:00