1
0
mirror of https://github.com/actions/labeler synced 2026-05-05 03:07:49 +02:00
Files
labeler/src/utils/print-pattern.ts
Nikolai Laevskii 3b7f505149 General refactoring
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;
};