Skip to content

Commit 80bb364

Browse files
authored
Merge pull request #2469 from atom-community/fix-kotlin
fix: fix kotlin for newer Kotlin versions (#2468)
2 parents 7b03c57 + 75bd9f5 commit 80bb364

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/grammars/java.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export const Java = {
3333

3434
function KotlinArgs(filepath, jar) {
3535
const jarNew = (jar !== null ? jar : path.basename(filepath)).replace(/\.kt$/, ".jar")
36-
const cmd = `kotlinc '${filepath}' -include-runtime -d ${jarNew} && java -jar ${jarNew}`
36+
const cmd = `kotlinc '${filepath}' -include-runtime -o ${jarNew} && java -jar ${jarNew}`
3737
return GrammarUtils.formatArgs(cmd)
3838
}
3939

0 commit comments

Comments
 (0)