configuration/strings/detector.strings.ts

configuration/strings/detector.strings.ts is a file in Secrets. 6 lines of code and 2 definitions.

export const duplicateDetector = function duplicateDetector(kind: string): string {
    return `detectors: the kind ${kind} is registered twice. Each kind is one predicate file, so remove the second registration.`;
};

export const missingDetectors = function missingDetectors(kinds: readonly string[]): string {
    return `detectors: no predicate file registers ${kinds.join(", ")}. Add one file per declared kind under the detectors folder.`;
};