Skip to content

Commit 7d1588d

Browse files
committed
Add logs in prebuild script
1 parent 9052474 commit 7d1588d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

prebuild.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ function copyIcon(src, dst) {
88
console.warn(`Icon path for ${dst} is not defined in your environment variables`)
99
return
1010
}
11+
console.log(`Replacing icon ${dst} by ${src}`)
1112
if (!fs.existsSync(src)) {
1213
console.warn(`Icon file ${src} does not exist.`)
1314
return
@@ -30,6 +31,7 @@ function updatePackageJson() {
3031
ASSISTANT_NAME_EN: process.env.ASSISTANT_NAME_EN || "DevChat",
3132
ASSISTANT_NAME_ZH: process.env.ASSISTANT_NAME_ZH || "DevChat"
3233
}
34+
console.log(`Updating package.json, env: ${JSON.stringify(placeholders)}`)
3335

3436
let packageJson = fs.readFileSync('package.json', 'utf8');
3537

0 commit comments

Comments
 (0)