Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorMark Otto <markd.otto@gmail.com>2017-12-28 21:24:08 +0300
committerGitHub <noreply@github.com>2017-12-28 21:24:08 +0300
commitdd621e5511ad49e38e55fa6ab1b908c0a3883fe5 (patch)
tree0e60113e4f8c35a43c1707730a43dbc95e1a3760 /build
parent57083c3042f622af424c477b80bc98ae2a2cee76 (diff)
Improve lint vars output messaging (#25049)
Diffstat (limited to 'build')
-rw-r--r--build/lint-vars.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/lint-vars.js b/build/lint-vars.js
index 909f5293d7..6164392e5d 100644
--- a/build/lint-vars.js
+++ b/build/lint-vars.js
@@ -44,7 +44,7 @@ function findUnusedVars(dir) {
// Array of all Sass variables
const variables = sassFilesString.match(/(^\$[a-zA-Z0-9_-]+[^:])/gm)
- console.log(`There's a total of ${variables.length} variables.`)
+ console.log(`Found ${variables.length} total variables.`)
// Loop through each variable
variables.forEach((variable) => {
@@ -52,7 +52,7 @@ function findUnusedVars(dir) {
const count = (sassFilesString.match(re) || []).length
if (count === 1) {
- console.log(`Variable "${variable}" is only used once!`)
+ console.log(`Variable "${variable}" is not being used.`)
unusedVarsFound = true
globalSuccess = false
}