Files
labeler/src/utils/print-pattern.ts
T
2023-08-02 06:13:14 +02:00

6 lines
159 B
TypeScript

import {Minimatch} from 'minimatch';
export const printPattern = (matcher: Minimatch): string => {
return (matcher.negate ? '!' : '') + matcher.pattern;
};