mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-16 18:43:42 +08:00
test: fix material snapshot iterator
This commit is contained in:
parent
d463166461
commit
376e3f8e39
@ -13,7 +13,7 @@ export default async function () {
|
||||
const dependencies = packageJson['dependencies'];
|
||||
// Angular material adds dependencies on other Angular packages
|
||||
// Iterate over all of the packages to update them to the snapshot version.
|
||||
for (const { name, version } of Object.entries[snapshots.dependencies]) {
|
||||
for (const [name, version] of Object.entries(snapshots.dependencies)) {
|
||||
if (name in dependencies) {
|
||||
dependencies[name] = version;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user