mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-28 20:52:21 +01:00
*face palm*
This commit is contained in:
parent
77dea2c5eb
commit
8281a9023a
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user