mirror of
https://github.com/renovatebot/renovate.git
synced 2026-10-25 23:11:31 +00:00
930cf6633c
fix: Additional vi.mock path corrections and prettier formatting
11 lines
316 B
TypeScript
11 lines
316 B
TypeScript
import { regEx } from '../../../util/regex.ts';
|
|
|
|
export const keyValueExtractionRegex = regEx(
|
|
/^\s*(?<key>[^\s]+)\s+=\s+"(?<value>[^"]+)"\s*$/,
|
|
);
|
|
|
|
export function checkFileContainsPlugins(content: string): boolean {
|
|
const checkList = ['plugin '];
|
|
return checkList.some((check) => content.includes(check));
|
|
}
|