Skip to content

Commit 5516681

Browse files
committed
fix: use createTempFolder in Kotlin
1 parent 34b592a commit 5516681

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/grammars/java.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export const Kotlin = {
4949
"File Based": {
5050
command,
5151
args({ filepath, filename }) {
52-
return KotlinArgs(filepath, `/tmp/${filename}`)
52+
return KotlinArgs(filepath, path.join(GrammarUtils.createTempFolder("kt-"), filename))
5353
},
5454
},
5555
}

0 commit comments

Comments
 (0)