Skip to content

Commit

Permalink
update docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
GavinZZ committed Oct 9, 2024
1 parent adb7607 commit f5ad099
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -319,8 +319,8 @@ export class PolicySynthesizer extends Construct {
if (Reference.isReference(r)) {
return `(${r.target.node.path}.${r.displayName})`;
}
// Token resolution requires a stack scope. We can't directly use this
// because PolicySynthesizer is always created in the App scope.
// Token resolution requires a stack scope. We can't directly use 'this' scope
// because PolicySynthesizer is always created under 'App' scope.
const resolved = Tokenization.resolve(r, {
scope: this._scope,
resolver: new PolicySynthesizerTokenResolver(new StringConcat()),
Expand Down

0 comments on commit f5ad099

Please sign in to comment.