Skip to content

Commit ef634a5

Browse files
committed
fix: add newline at the end of vmoptions file
1 parent 568fe7f commit ef634a5

File tree

1 file changed

+2
-1
lines changed
  • components/ide/jetbrains/image/status

1 file changed

+2
-1
lines changed

components/ide/jetbrains/image/status/main.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,8 @@ func updateVMOptions(alias string, content string) string {
364364
if len(userVMOptions) > 0 {
365365
vmoptions = deduplicateVMOption(vmoptions, userVMOptions, filterFunc)
366366
}
367-
return strings.Join(vmoptions, "\n")
367+
// vmoptions file should end with a newline
368+
return strings.Join(vmoptions, "\n") + "\n"
368369
}
369370

370371
/**

0 commit comments

Comments
 (0)