Explorar el Código

chore: update js-yaml

Gerald hace 4 años
padre
commit
132757a7f6
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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() {