Skip to content

Commit ce5082c

Browse files
authored
Merge pull request #86 from nodece/master
Fix buildRoleLinks method
2 parents 4a99329 + acff4ba commit ce5082c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/model/model.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,9 @@ export class Model {
157157
if (!astMap) {
158158
return;
159159
}
160-
astMap.forEach(async value => {
160+
for (const value of astMap.values()) {
161161
await value.buildRoleLinks(rm);
162-
});
162+
}
163163
}
164164

165165
// clearPolicy clears all current policy.

0 commit comments

Comments
 (0)