Skip to content

Commit 2dd1d3d

Browse files
committed
change === to !==
1 parent 2e4b3d3 commit 2dd1d3d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ function copySubmoduleExports(targetExports: Record<string, string>, library: Li
317317
}
318318
}
319319

320-
if (visibleName === 'core') {
320+
if (visibleName !== 'core') {
321321
// If there was an export for '.' in the original submodule, this assignment will overwrite it,
322322
// which is exactly what we want.
323323
targetExports[`./${unixPath(visibleName)}`] = `./${unixPath(subdirectory)}/index.js`;

0 commit comments

Comments
 (0)