Skip to content

Commit 822b544

Browse files
committed
file extension to xml (for tmx)
1 parent 60a6186 commit 822b544

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

  • services/language_translation

services/language_translation/v2.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,9 @@ module.exports = function (RED) {
112112
text: 'requesting training'
113113
});
114114

115-
temp.open('myprefix', function (err, info) {
115+
temp.open({
116+
suffix: '.xml'
117+
}, function (err, info) {
116118
if (!err) {
117119
fs.write(info.fd, msg.payload);
118120
var params = {};

0 commit comments

Comments
 (0)