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:
@ -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;
|
||||
|
Reference in New Issue
Block a user