Skip to content

Commit 5d79d2d

Browse files
committed
lint
1 parent 47bad4a commit 5d79d2d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

script/test-deprecations.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,9 @@ async function checkSelectorDeprecations(options = {}) {
8686

8787
for (const removedSelector of removed) {
8888
if (!deprecatedSelectors.includes(removedSelector)) {
89-
errors.push(`"${removedSelector}" has been removed, but was not listed in versionDeprecations['${currentVersion}']`)
89+
errors.push(
90+
`"${removedSelector}" has been removed, but was not listed in versionDeprecations['${currentVersion}']`
91+
)
9092
} else {
9193
// console.log(`${V} "${removedSelector}" removed and deprecated!`)
9294
}
@@ -140,7 +142,9 @@ async function checkVariableDeprecations(options = {}) {
140142

141143
for (const removedVariable of removed) {
142144
if (!deprecatedVariables.includes(removedVariable)) {
143-
errors.push(`"${removedVariable}" has been removed, but was not listed in versionDeprecations['${currentVersion}']`)
145+
errors.push(
146+
`"${removedVariable}" has been removed, but was not listed in versionDeprecations['${currentVersion}']`
147+
)
144148
} else {
145149
// console.log(`${V} "${removedVariable}" removed and deprecated!`)
146150
}

0 commit comments

Comments
 (0)