7const CHANNEL_REGEX = new RegExp("/nightly/|/beta/|/stable/|/1\\.[0-9]+\\.[0-9]+/");
8
9▶function arrayToCode(array) {
10 return array.map((value, index) => {
11 value = value.split(" ").join(" ");
· · ·
14}
15
16▶function loadContent(content) {
17 const Module = module.constructor;
18 const m = new Module();
· · ·
27}
28
29▶function readFile(filePath) {
30 return fs.readFileSync(filePath, "utf8");
31}
· · ·
32
33▶function contentToDiffLine(key, value) {
34 if (typeof value === "object" && !Array.isArray(value) && value !== null) {
35 const out = Object.entries(value)
· · ·
42}
43
44▶function shouldIgnoreField(fieldName) {
45 return fieldName === "query" || fieldName === "correction" ||
46 fieldName === "proposeCorrectionFrom" ||
+ 24 more matches in this file