File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
dts-generator/src/main/java/com/telerik/dts Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ public class FileWriter {
22
22
23
23
public FileWriter (File outDir , boolean writeMultipleFiles ) {
24
24
this .writeMultipleFiles = writeMultipleFiles ;
25
- this .defaultDtsFileName = DEFAULT_DTS_FILE_NAME ;
25
+ this .defaultDtsFileName = DEFAULT_DTS_FILE_NAME + java . util . UUID . randomUUID (). toString () ;
26
26
this .outDir = outDir ;
27
27
}
28
28
@@ -37,7 +37,7 @@ public void write(String content, String fileName) {
37
37
String outFile = this .outDir .getAbsolutePath () + File .separator + this .defaultDtsFileName + ".d.ts" ;
38
38
this .ps = new PrintStream (new FileOutputStream (outFile , /*append*/ true ));
39
39
40
- //add helpers reference to the top of the file
40
+ // add helpers reference to the top of the file
41
41
if (this .isFirstRun ) {
42
42
ps .println ("/// <reference path=\" ./_helpers.d.ts\" />" );
43
43
this .isFirstRun = false ;
You can’t perform that action at this time.
0 commit comments