@enplug/scripts 1.11.4-dev26 → 1.11.4-dev28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -112,7 +112,7 @@ function generateFormData(crowdinPath, localPath) {
|
|
|
112
112
|
// const reader = new FileReader();
|
|
113
113
|
const formData = new FormData();
|
|
114
114
|
console.log('localPath', localPath);
|
|
115
|
-
const file = fs.
|
|
115
|
+
const file = fs.readFileSync('./'+localPath);
|
|
116
116
|
console.log('file', file);
|
|
117
117
|
// formData.append('update_option', 'update_without_changes'); // Previous translations should remain valid
|
|
118
118
|
// formData.append('json', '');
|