antora-confluence
Version:
A tool to convert and publish Antora documentation to Confluence
11 lines (10 loc) • 363 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.fileIsExcluded = void 0;
const minimatch_1 = require("minimatch");
const fileIsExcluded = (filePath, excludeFiles) => {
return excludeFiles.some((pattern) => {
return (0, minimatch_1.minimatch)(filePath, pattern);
});
};
exports.fileIsExcluded = fileIsExcluded;