Skip to content

Commit ba4414b

Browse files
cexbrayatangular-robot[bot]
authored andcommitted
fix(@schematics/angular): reformat app.config.ts
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.
1 parent 85fe820 commit ba4414b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/schematics/angular/application/files/standalone-files/src/app/app.config.ts.template

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ import { provideRouter } from '@angular/router';
44
import { routes } from './app.routes';<% } %>
55

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

0 commit comments

Comments
 (0)