Commit 8281a902 authored by Jacob Thornton's avatar Jacob Thornton

*face palm*

parent 77dea2c5
...@@ -37,7 +37,7 @@ module.exports = { ...@@ -37,7 +37,7 @@ module.exports = {
pull.files.forEach(function (file) { pull.files.forEach(function (file) {
if (/^js\/[^./]+.js/.test(file.filename)) hasJS = true 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) assert.ok(!hasJS || hasJS && hasTests)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment