mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 10:08:06 +02:00
Moves all testing into gulpfile.
This commit is contained in:
parent
4dc00b003d
commit
fe6001363d
3 changed files with 146 additions and 97 deletions
2
external/umdutils/verifier.js
vendored
2
external/umdutils/verifier.js
vendored
|
@ -455,13 +455,13 @@ function validateFiles(paths, options) {
|
|||
};
|
||||
|
||||
// Finds all files.
|
||||
var foundFiles = [];
|
||||
for (var name in paths) {
|
||||
if (!paths.hasOwnProperty(name)) {
|
||||
continue;
|
||||
}
|
||||
var path = paths[name];
|
||||
var stats = fs.statSync(path);
|
||||
var foundFiles = [];
|
||||
if (stats.isFile()) {
|
||||
foundFiles.push({path: path, name: name});
|
||||
} else if (stats.isDirectory()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue