Skip to content

Commit a2f1ec7

Browse files
committed
chore: adjust script messages
1 parent bba8b9e commit a2f1ec7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

example/generateAutolinking.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const { spawnSync } = require("child_process");
22
const path = require("path");
33
const fs = require("fs");
44

5-
console.log("🔄 Gerando autolinking.json...");
5+
console.log("🔄 Generating autolinking.json...");
66

77
const outputDir = path.resolve(__dirname, "android/build/generated/autolinking");
88
if (!fs.existsSync(outputDir)) {
@@ -16,14 +16,14 @@ const result = spawnSync(
1616
);
1717

1818
if (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

2323
const config = JSON.parse(result.stdout);
2424

2525
if (!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);

0 commit comments

Comments
 (0)