소스 검색

chore: update js-yaml

Gerald 4 년 전
부모
커밋
132757a7f6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      scripts/transifex.js

+ 1 - 1
scripts/transifex.js

@@ -168,7 +168,7 @@ async function pullTranslations(code) {
     const remoteMessage = remote[key] && remote[key].message;
     if (remoteMessage) value.message = remoteMessage;
   });
-  await fs.writeFile(filePath, yaml.safeDump(local), 'utf8');
+  await fs.writeFile(filePath, yaml.dump(local), 'utf8');
 }
 
 async function main() {