Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(defaultStackSynthesizer): prevent App level synthesizer from propagating assets across stacks #29073

Closed
wants to merge 5 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: instantiate new AssetManifestBuilder after copying
  • Loading branch information
castodius committed Feb 11, 2024
commit 2647064ab3c7492a91baaae2eecd498eb24bdbbd
Original file line number Diff line number Diff line change
@@ -332,7 +332,8 @@ export class DefaultStackSynthesizer extends StackSynthesizer implements IReusab
*/
public reusableBind(stack: Stack): IBoundStackSynthesizer {
// Create a copy of the current object and bind that
const copy = Object.create(this);
const copy = Object.create(this) as DefaultStackSynthesizer;
copy.assetManifest = new AssetManifestBuilder();
copy.bind(stack);
return copy;
}
Loading