This is an automated email from the ASF dual-hosted git repository.

shuai pushed a commit to branch feat/team
in repository https://gitbox.apache.org/repos/asf/incubator-answer-website.git


The following commit(s) were added to refs/heads/feat/team by this push:
     new e4ce307b feat: change scripts
e4ce307b is described below

commit e4ce307b11dfcd0997961659b7915747bd4470c6
Author: shuai <[email protected]>
AuthorDate: Tue Apr 16 11:51:12 2024 +0800

    feat: change scripts
---
 scripts/contributor.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/contributor.js b/scripts/contributor.js
index 0fe29830..684afdf9 100644
--- a/scripts/contributor.js
+++ b/scripts/contributor.js
@@ -34,7 +34,7 @@ fetch(url).then(function(res) {
   var jsonData = JSON.parse(existingData);
   jsonData[2].users = contributors;
   // save data to team.json
-  fs.writeFile(outputFile, JSON.stringify(jsonData, null, 2), err => {
+  fs.writeFile(outputFile, JSON.stringify(jsonData, null, 2), function(err) {
     if (err) {
       console.error('write file err:', err);
     }

Reply via email to