Skip to content

Commit 48acd37

Browse files
authored
fix: reduce load time of JavaScript library, for real (#27314)
This is a follow-up to #27217 The check we needed to perform was inverted 😖 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 3507141 commit 48acd37

File tree

3 files changed

+1
-1
lines changed

3 files changed

+1
-1
lines changed

packages/aws-cdk-lib/aws-dynamodb/lib/replica-handler/.is_custom_resource

Whitespace-only changes.

packages/aws-cdk-lib/custom-resources/lib/provider-framework/runtime/.is_custom_resource

Whitespace-only changes.

tools/@aws-cdk/lazify/bin/lazify.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ async function main() {
1717
}
1818
},
1919
// Skip directories marked as 'custom resource's, so we don't affect asset hashes
20-
async (d) => path.basename(d) !== 'node_modules' && await fs.pathExists(path.join(d, '.is_custom_resource')));
20+
async (d) => path.basename(d) !== 'node_modules' && ! await fs.pathExists(path.join(d, '.is_custom_resource')));
2121
}
2222
}
2323

0 commit comments

Comments
 (0)