if (str.length) {
File.append(this.target, str + "\n");
}
+ if (this.cleanup) {
+ File.remove(transmd5);
+ }
}
if (File.exists(transfile)) {
var str = File.read(transfile);
if (str.length) {
File.append(this.translateJson, str);
}
+ if (this.cleanup) {
+ File.remove(transfile);
+ }
}
for(var i=0; i < files.length; i++) {
var minfile = bpath + '/' + this.files.replace(/\//g, '.');
+
+
if (!File.exists(minfile)) {
continue;
}
if (str.length) {
File.append(this.target, str + "\n");
}
- }
-
-
- //File.append(dout, "\n");// end the function
- if (this.cleanup) {
-
-
+ if (this.cleanup) {
+ File.remove(minfile);
+ }
}
+
+
},