mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-13 17:14:04 +02:00
*face palm*
This commit is contained in:
@@ -37,7 +37,7 @@ module.exports = {
|
||||
|
||||
pull.files.forEach(function (file) {
|
||||
if (/^js\/[^./]+.js/.test(file.filename)) hasJS = true
|
||||
if (/^js\/test\/unit\/[^.]+.js/.test(file.filename)) hasTests = true
|
||||
if (/^js\/tests\/unit\/[^.]+.js/.test(file.filename)) hasTests = true
|
||||
})
|
||||
|
||||
assert.ok(!hasJS || hasJS && hasTests)
|
||||
|
Reference in New Issue
Block a user