Commit Graph

4 Commits

Author SHA1 Message Date
Ash McKenzie f34e4545ec Revert "Merge branch '66596-allow-danger-to-be-run-locally' into 'master'"
This reverts merge request !32196
2019-09-06 07:14:30 +00:00
Ash McKenzie 70e1a17604
Update some Danger rules to not rely upon CI
Convert a bunch of Danger rules so they can run
locally.
2019-09-06 10:56:54 +10:00
Robert Speicher f5df4976b6
Make the frozen_string Danger check more resilient
It's possible for a Ruby file to be empty and thus `gets` returns `nil`.

Also indents the Markdown since we're using `<<~` and removes an
unneeded variable.
2018-07-25 14:32:44 -07:00
gfyoung db00a9c641 Add Dangerfile for frozen_string_literal
Checks that new Ruby files will enable
frozen string literal.

Partially addresses #47424.
2018-07-24 02:17:45 -07:00