avancement planning
This commit is contained in:
+4
@@ -2,6 +2,7 @@
|
||||
import { GLOBSTAR } from '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
|
||||
@@ -77,6 +78,9 @@ export 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