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