File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ const { spawnSync } = require("child_process");
22const path = require ( "path" ) ;
33const fs = require ( "fs" ) ;
44
5- console . log ( "🔄 Gerando autolinking.json..." ) ;
5+ console . log ( "🔄 Generating autolinking.json..." ) ;
66
77const outputDir = path . resolve ( __dirname , "android/build/generated/autolinking" ) ;
88if ( ! fs . existsSync ( outputDir ) ) {
@@ -16,14 +16,14 @@ const result = spawnSync(
1616) ;
1717
1818if ( result . error ) {
19- console . error ( "❌ Erro ao rodar react-native config" , result . error ) ;
19+ console . error ( "❌ Error running react-native config" , result . error ) ;
2020 process . exit ( 1 ) ;
2121}
2222
2323const config = JSON . parse ( result . stdout ) ;
2424
2525if ( ! config . project ?. android ?. packageName ) {
26- console . error ( "❌ project.android.packageName não encontrado no config!" ) ;
26+ console . error ( "❌ project.android.packageName not found in config!" ) ;
2727 process . exit ( 1 ) ;
2828}
2929
@@ -32,4 +32,4 @@ fs.writeFileSync(
3232 JSON . stringify ( config , null , 2 )
3333) ;
3434
35- console . log ( "✅ autolinking.json gerado em :" , outputDir ) ;
35+ console . log ( "✅ autolinking.json generated at :" , outputDir ) ;
You can’t perform that action at this time.
0 commit comments