avancement planning
This commit is contained in:
+4
@@ -5,6 +5,7 @@ exports.Pattern = void 0;
|
||||
const minimatch_1 = require("minimatch");
|
||||
const isPatternList = (pl) => pl.length >= 1;
|
||||
const isGlobList = (gl) => gl.length >= 1;
|
||||
const customInspect = Symbol.for('nodejs.util.inspect.custom');
|
||||
/**
|
||||
* An immutable-ish view on an array of glob parts and their parsed
|
||||
* results
|
||||
@@ -80,6 +81,9 @@ class Pattern {
|
||||
}
|
||||
}
|
||||
}
|
||||
[customInspect]() {
|
||||
return 'Pattern <' + this.#globList.slice(this.#index).join('/') + '>';
|
||||
}
|
||||
/**
|
||||
* The first entry in the parsed list of patterns
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user