Include -r flag to code when creating change note

Co-authored-by: Taus <tausbn@github.com>
This commit is contained in:
Simon Friis Vindum
2025-03-07 08:47:21 +01:00
committed by GitHub
parent 4c3a2cd111
commit fc186eb136

View File

@@ -52,6 +52,6 @@ category: {change_category}
with open(change_note_file, "w") as f:
f.write(change_note)
editor = os.environ.get('EDITOR', 'code')
editor = os.environ.get('EDITOR', 'code -r')
os.system(f"{editor} {change_note_file}")