fix(core): update
This commit is contained in:
parent
afd8db1acf
commit
c82bb44007
@ -1,13 +1,12 @@
|
|||||||
import * as plugins from './smartmatch.plugins';
|
import * as plugins from './smartmatch.plugins';
|
||||||
|
|
||||||
export class SmartMatch {
|
export class SmartMatch {
|
||||||
private picomatch;
|
public wildcard: string;
|
||||||
public wildcard;
|
|
||||||
constructor(wildcardArg: string) {
|
constructor(wildcardArg: string) {
|
||||||
this.wildcard = wildcardArg;
|
this.wildcard = wildcardArg;
|
||||||
}
|
}
|
||||||
|
|
||||||
public match(matchStringArg): boolean {
|
public match(matchStringArg: string): boolean {
|
||||||
return plugins.matcher.isMatch(matchStringArg, this.wildcard);
|
return plugins.matcher.isMatch(matchStringArg, this.wildcard);
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user