UNPKG

@ply-ct/ply

Version:

REST API Automated Testing

15 lines 448 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Skip = void 0; const minimatch_1 = require("minimatch"); const util_1 = require("./util"); class Skip { constructor(pattern) { this.pattern = (0, util_1.fwdSlashes)(pattern); } isSkipped(path) { return (0, minimatch_1.minimatch)((0, util_1.fwdSlashes)(path), this.pattern); } } exports.Skip = Skip; //# sourceMappingURL=skip.js.map