Skip to content

Commit

Permalink
Merge branch 'main' into Adotlambda1021
Browse files Browse the repository at this point in the history
  • Loading branch information
alexperez52 authored Jul 18, 2024
2 parents 4b49824 + 726a3be commit 35d5fd6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,8 @@ export abstract class CustomResourceProviderBase extends Construct {

this._codeHash = staging.assetHash;

fs.rmSync(stagingDirectory, { recursive: true, force: true });

return {
code: {
S3Bucket: asset.bucketName,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,6 @@ describe('custom resource provider', () => {
const keyParam = paramNames[1];
const hashParam = paramNames[2];

expect(fs.existsSync(path.join(sourcePath, '__entrypoint__.js'))).toEqual(true);

expect(cfn).toEqual({
Resources: {
CustomMyResourceTypeCustomResourceProviderRoleBD5E655F: {
Expand Down

0 comments on commit 35d5fd6

Please sign in to comment.