style(compiler-cli): reformat of codebase with new clang-format version (#36520)

This commit reformats the packages/compiler-cli tree using the new version
of clang-format.

PR Close #36520
This commit is contained in:
Alex Rickabaugh
2020-04-07 12:43:43 -07:00
committed by atscott
parent 717df13207
commit 0a69a2832b
205 changed files with 2949 additions and 2122 deletions

View File

@ -22,10 +22,15 @@ import {createProgram, readConfiguration} from '@angular/compiler-cli';
* properly read and wrote.
*/
function main() {
Promise.resolve().then(() => lazyRoutesTest()).then(() => { process.exit(0); }).catch((err) => {
console.error(err.stack);
process.exit(1);
});
Promise.resolve()
.then(() => lazyRoutesTest())
.then(() => {
process.exit(0);
})
.catch((err) => {
console.error(err.stack);
process.exit(1);
});
}
function lazyRoutesTest() {
@ -36,7 +41,8 @@ function lazyRoutesTest() {
const host = ts.createCompilerHost(config.options, true);
const program = createProgram({
rootNames: config.rootNames,
options: config.options, host,
options: config.options,
host,
});
config.options.basePath = basePath;