diff options
author | Evan Read <eread@gitlab.com> | 2021-07-27 04:55:10 +0300 |
---|---|---|
committer | Evan Read <eread@gitlab.com> | 2021-07-27 04:55:10 +0300 |
commit | ed628605464bc01b5801258b0c31ac2412721daf (patch) | |
tree | 549274b85bae09df31f7edc040fb48b8a8996425 /.gitlab-ci.yml | |
parent | 692321ddd080fb44ff45d2825073551cb60162d6 (diff) |
Limit required modifications to files
Also ensure that only frontmatter is caught.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ad2828c7..37efba92 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -295,8 +295,8 @@ stylelint: stage: test script: # Remove the first three lines so the frontmatter doesn't - # cause SCSS Lint to throw errors. Also remove ERB code. - - sed -i -E '1,3d;s/<%= .* %>//g' content/assets/stylesheets/*.scss + # cause stylelint to throw errors. + - sed -i -E '1,3d' content/assets/stylesheets/*.scss - yarn run stylelint content/assets/stylesheets/*.scss # |