Skip to content

Commit

Permalink
minor grammar change
Browse files Browse the repository at this point in the history
  • Loading branch information
paulhcsun committed Jan 4, 2024
1 parent 3d48711 commit 868ce74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/aws-cdk-lib/core/lib/asset-staging.ts
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ export class AssetStaging extends Construct {
// directory after it has been moved to the staging directory if the hash is known before bundling. This way if bundling
// is skipped because the bundling directory already exists we can still determine
// the correct packaging type.
// If the hash is calculated after bundling we remove the temp dir now
// If the hash is calculated after bundling we remove the temp dir now.
if (bundledAsset.packaging === FileAssetPackaging.FILE) {
if (this.hashType === AssetHashType.OUTPUT || this.hashType === AssetHashType.BUNDLE) {
fs.removeSync(path.dirname(bundledAsset.path));
Expand Down

0 comments on commit 868ce74

Please sign in to comment.