HomePhabricator

Fix greediness in Apache License linter.
b3b2da460879Unpublished

Unpublished Commit · Learn More

No further details are available.

Description

Fix greediness in Apache License linter.

Summary: The multi-line comment regexp was potentially too greedy. See
"greedy.lint-test".

  • Made it less greedy.
  • Added test coverage.
  • Fixed an issue with the Apache license getting applied with too much
	  whitespace against C files.

Test Plan: Ran unit tests.

Reviewers: aran

CC:

Differential Revision: 36

Details

Provenance
epriestleyAuthored on
Differential Revision
Restricted Differential Revision
Parents
rARCe0bc910dda5e: Tweak license linter to support licenses on line immediately after <?php
Branches
Unknown
Tags
Unknown

Event Timeline