Open suchow opened 8 years ago
Sure can - git.commits.map {|commit| commit.message }
gives you the strings for all the commit messages 👍
Would recommend running bundle exec danger local --pry
to open a REPL inside the Dangerfile and look around once it's set up
Hrm, the current proselint plugin however is mainly built for working against files, so we'd either need to allow for arbitrary text, or you'll need to write the messages to a file
Nice work with this Danger plugin! I'll be using it on Proselint's GitHub repo soon (https://github.com/amperser/proselint/pull/546).
Question — is it possible to use this to run Proselint over commit messages?