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
|
||||
jsfiles
|
||||
.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) => {
|
||||
var code = fs.readFileSync(file, "utf8"),
|
||||
locs = locater.find("o.only", code);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue