When working on adding a Github Action for GDScript-formatter to my project it complained about files not being formatted. I noticed that if I run the formatter myself (me on Windows, Github Action on Ubuntu) it differs from how it is formatted by the plugin in the editor for certain files.
Example (Editor):
extends Node
func _ready() -> void:
randomize()
Example (Powershell / Github Action):
extends Node
func _ready() -> void:
randomize()
Notice the extra line between extends and func.
When running in Powershell/cmd I'm using the same .exe that the editor is.

This does not happen in files where there are variables between the extends and the first func
Any ideas what's going on?
When working on adding a Github Action for GDScript-formatter to my project it complained about files not being formatted. I noticed that if I run the formatter myself (me on Windows, Github Action on Ubuntu) it differs from how it is formatted by the plugin in the editor for certain files.
Example (Editor):
Example (Powershell / Github Action):
Notice the extra line between
extendsandfunc.When running in Powershell/cmd I'm using the same .exe that the editor is.
This does not happen in files where there are variables between the extends and the first
funcAny ideas what's going on?