Skip to content

Commit a570b51

Browse files
committed
material no longer has --typography
1 parent f322fe3 commit a570b51

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
/.idea/workspace.xml
22
/node_modules/
33
yarn-error.log
4+
5+
copilot.data.migration.*.xml

generate-version.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ if (flags.has("-lib")) {
4848
);
4949
}
5050
if (flags.has("-mat")) {
51-
const extraArgs = flags.has("-noApp") ? ` --project=${applicationName}` : "";
51+
const extraArgs = flags.has("-noApp") ? `--project=${applicationName}` : "";
5252
runAndCommit(
53-
`npx ng add @angular/material@${minorVersion} --theme=custom --typography${extraArgs} --interactive=false --skip-confirmation=true`
53+
`npx ng add @angular/material@${minorVersion} --theme=custom ${extraArgs} --interactive=false --skip-confirmation=true`
5454
);
5555
}
5656
if (flags.has("-pwa")) {

0 commit comments

Comments
 (0)