File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
packages/@react-native-windows/cli/src/commands/moduleWindowsSetup Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ export class ModuleWindowsSetup {
149149 // e.g., "react-native-webview" -> "ReactNativeWebview"
150150 // e.g., "@react-native-community/slider" -> "ReactNativeCommunitySlider"
151151 return packageName
152- . replace ( / [ @ \/ \ -] / g, ' ' )
152+ . replace ( / [ @ / - ] / g, ' ' )
153153 . split ( ' ' )
154154 . filter ( word => word . length > 0 )
155155 . map ( word => word . charAt ( 0 ) . toUpperCase ( ) + word . slice ( 1 ) . toLowerCase ( ) )
@@ -813,7 +813,9 @@ export default TurboModuleRegistry.getEnforcing<Spec>('${moduleName}');
813813 specFiles = await this . filterValidSpecFiles ( matches ) ;
814814 if ( specFiles . length > 0 ) {
815815 this . verboseMessage (
816- `Found spec files with pattern "${ pattern } ": ${ specFiles . join ( ', ' ) } ` ,
816+ `Found spec files with pattern "${ pattern } ": ${ specFiles . join (
817+ ', ' ,
818+ ) } `,
817819 ) ;
818820 break ;
819821 }
@@ -836,7 +838,9 @@ export default TurboModuleRegistry.getEnforcing<Spec>('${moduleName}');
836838 // Parse method signatures from the Spec interface
837839 const methods = this . extractMethodsFromSpecInterface ( specContent ) ;
838840 this . verboseMessage (
839- `Extracted ${ methods . length } methods from spec file: ${ methods . map ( m => m . name ) . join ( ', ' ) } ` ,
841+ `Extracted ${ methods . length } methods from spec file: ${ methods
842+ . map ( m => m . name )
843+ . join ( ', ' ) } `,
840844 ) ;
841845 return methods ;
842846 } catch ( error ) {
You can’t perform that action at this time.
0 commit comments