Skip to content

Commit

Permalink
Merge pull request #1461 from alphagov/expand-suggested-sass
Browse files Browse the repository at this point in the history
Expand scope of suggested sass functionality
  • Loading branch information
andysellick authored Apr 22, 2020
2 parents 3bcb4e1 + 1da7c0a commit 360054d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
useful summary for people upgrading their application, not a replication
of the commit log.

## Unreleased

* Expand scope of suggested sass functionality ([PR #1461](https://github.com/alphagov/govuk_publishing_components/pull/1461))

## 21.41.2

* Make FAQs look deeper in the page for questions ([PR #1437](https://github.com/alphagov/govuk_publishing_components/pull/1437))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ def components_in_use
matches = []

files = Dir["#{@application_path}/app/views/**/*.html.erb"]
files.concat Dir["#{@application_path}/app/**/*.rb"]

files.each do |file|
data = File.read(file)
matches << data.scan(/(govuk_publishing_components\/components\/[a-z_-]+)/)
Expand Down

0 comments on commit 360054d

Please sign in to comment.