1
1
mirror of https://github.com/primer/css.git synced 2024-09-11 16:36:07 +03:00

cssstats bug

This commit is contained in:
Jon Rohan 2021-04-07 12:38:58 -07:00
parent 074c74eb19
commit 47989e1933
No known key found for this signature in database
GPG Key ID: B0BBE304A9A0AECB
2 changed files with 3 additions and 1 deletions

View File

@ -26,7 +26,7 @@ describe('deprecations', () => {
}
})
it('A selector was removed from the codebase and added to upcoming major release deprecations file.', () => {
it('A selector was removed from the codebase but not added to upcoming major release deprecations file.', () => {
const removedSelectors = selectorsDiff['removed']
const nextMajor = semver.inc(version, 'major')
const deprecations = getDeprecatedSelectors(nextMajor)

View File

@ -4,6 +4,8 @@
[data-color-mode="light"][data-light-theme="#{$theme-name}"],
[data-color-mode="dark"][data-dark-theme="#{$theme-name}"] {
@content;
/*! */ // This is a fix for a cssstats bug see https://github.com/cssstats/cssstats/issues/331
}
}
@else {