Skip to content

Commit

Permalink
fix(@schematics/angular): reformat app.config.ts
Browse files Browse the repository at this point in the history
The CLI usually generates files with a new line at the end.
This line was lacking in the new `app.config.ts` file generated for standalone applications.

It was also using a trailing comma, which is not the usual convention in generated files.
  • Loading branch information
cexbrayat authored and angular-robot[bot] committed Mar 24, 2023
1 parent 85fe820 commit ba4414b
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -4,5 +4,5 @@ import { provideRouter } from '@angular/router';
import { routes } from './app.routes';<% } %>

export const appConfig: ApplicationConfig = {
providers: [<% if (routing) { %>provideRouter(routes) <% } %>],
};
providers: [<% if (routing) { %>provideRouter(routes) <% } %>]
};

0 comments on commit ba4414b

Please sign in to comment.