-
Couldn't load subscription status.
- Fork 4
Fix visualizing duplicate library names #282
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -7,8 +7,6 @@ import { createRequire } from "node:module"; | |||||
|
|
||||||
| import { chalk, prettyPath } from "@react-native-node-api/cli-utils"; | ||||||
|
|
||||||
| import { findDuplicates } from "./duplicates"; | ||||||
|
|
||||||
| // TODO: Change to .apple.node | ||||||
| export const PLATFORMS = ["android", "apple"] as const; | ||||||
| export type PlatformName = "android" | "apple"; | ||||||
|
|
@@ -267,32 +265,37 @@ export function resolvePackageRoot( | |||||
| } | ||||||
| } | ||||||
|
|
||||||
| export function logModulePaths( | ||||||
| /** | ||||||
| * Module paths per library name. | ||||||
| */ | ||||||
| export type LibraryMap = Map<string, string[]>; | ||||||
|
|
||||||
| export function getLibraryMap( | ||||||
| modulePaths: string[], | ||||||
| // TODO: Default to iterating and printing for all supported naming strategies | ||||||
|
||||||
| // TODO: Default to iterating and printing for all supported naming strategies | |
| // TODO: Default to iterating for all supported naming strategies |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The error parameter was removed from the
failTextcallback, but the error's message is no longer included in the output. This loses valuable debugging information. Consider retaining the error parameter and includingerror.messagein the error text, or document why the error details are intentionally omitted.