Skip to content

Commit

Permalink
refactor: fix typo in function naming
Browse files Browse the repository at this point in the history
Fixes a typo in function naming.
  • Loading branch information
devversion committed Mar 24, 2022
1 parent f1187b5 commit 223f927
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bazel/api-golden/find_entry_points.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export function findEntryPointsWithinNpmPackage(
// Legacy behavior to support Angular packages without the `exports` field.
// TODO: Remove when https://github.com/angular/angular-cli/issues/22889 is resolved.
if (packageJson.exports === undefined) {
return findEntryPointsByThroughNestedPackageFiles(dirPath);
return findEntryPointsThroughNestedPackageFiles(dirPath);
}

for (const [subpath, conditions] of Object.entries(packageJson.exports)) {
Expand All @@ -47,7 +47,7 @@ export function findEntryPointsWithinNpmPackage(
* for nested `package.json` files. This is a legacy mechanism since we can
* consult the `package.json` `exports` information in most cases.
*/
function findEntryPointsByThroughNestedPackageFiles(dirPath: string): PackageEntryPoint[] {
function findEntryPointsThroughNestedPackageFiles(dirPath: string): PackageEntryPoint[] {
const entryPoints: PackageEntryPoint[] = [];

for (const packageJsonFilePath of findPackageJsonFilesInDirectory(dirPath)) {
Expand Down

0 comments on commit 223f927

Please sign in to comment.