Skip to content

Commit

Permalink
fix: use createTempFolder in Kotlin
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Mar 22, 2021
1 parent 34b592a commit 5516681
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/grammars/java.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export const Kotlin = {
"File Based": {
command,
args({ filepath, filename }) {
return KotlinArgs(filepath, `/tmp/${filename}`)
return KotlinArgs(filepath, path.join(GrammarUtils.createTempFolder("kt-"), filename))
},
},
}
Expand Down

0 comments on commit 5516681

Please sign in to comment.