chore: ignore test-ospec when checking PRs
This commit is contained in:
parent
771dcd4738
commit
c29e269c2c
1 changed files with 2 additions and 0 deletions
|
|
@ -43,6 +43,8 @@ if(appfiles.length && !changelog) {
|
||||||
// Call out if `o.only(...)` was left in
|
// Call out if `o.only(...)` was left in
|
||||||
jsfiles
|
jsfiles
|
||||||
.filter((file) => file.indexOf("tests/") > -1)
|
.filter((file) => file.indexOf("tests/") > -1)
|
||||||
|
// Have to exclude test-ospec.js because it specifically has a purposeful "o.only" in it
|
||||||
|
.filter((file) => file.indexOf("test-ospec") === -1)
|
||||||
.forEach((file) => {
|
.forEach((file) => {
|
||||||
var code = fs.readFileSync(file, "utf8"),
|
var code = fs.readFileSync(file, "utf8"),
|
||||||
locs = locater.find("o.only", code);
|
locs = locater.find("o.only", code);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue