[#99] Remove erroneous reference to master

This commit is contained in:
Radon Rosborough 2022-06-03 17:41:25 -07:00
parent 18ccacc5cf
commit b25256f1b0

View file

@ -59,9 +59,9 @@ already in memory on the current branch."
(defun apheleia-ft--get-formatters-for-pull-request ()
"Return list of formatter string names that were touched in this PR.
This means their commands in `apheleia-formatters' are different
from how they appear on master, or they were added relative to
master."
(let ((old-formatters (apheleia-ft--get-formatters-from-ref "origin/master"))
from how they appear on main, or they were added relative to
main."
(let ((old-formatters (apheleia-ft--get-formatters-from-ref "origin/main"))
(new-formatters apheleia-formatters)
(touched-formatters nil))
(map-do