mirror of
https://github.com/actions/labeler
synced 2026-05-10 04:31:02 +02:00
General refactoring
This commit is contained in:
5
src/utils/print-pattern.ts
Normal file
5
src/utils/print-pattern.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import {Minimatch} from 'minimatch';
|
||||
|
||||
export const printPattern = (matcher: Minimatch): string => {
|
||||
return (matcher.negate ? '!' : '') + matcher.pattern;
|
||||
};
|
||||
Reference in New Issue
Block a user