mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
bug 403400 - isTest should ignore ^headers^ files. r=waldo
This commit is contained in:
parent
c30266dba2
commit
7986165cc7
@ -278,7 +278,7 @@ function isTest(filename, pattern)
|
||||
return filename.indexOf("test_") > -1 &&
|
||||
filename.indexOf(".js") == -1 &&
|
||||
filename.indexOf(".css") == -1 &&
|
||||
filename.substring(filename.length - 9) != "^headers^";
|
||||
!/\^headers\^$/.test(filename);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user