Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for result (0.15 sec)

  1. .cm/plugins/filters/categorize/index.js

                const files = fileOwners.get(platform);
                if (files.includes(fileMetadata.file)) {
                    result.get(platform).files.push(fileMetadata.file);
                }
            });
        });
    
        console.log("categorize: ");
        console.log([...result.values()]);
        return result;
    }
    
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  2. .cm/plugins/filters/summaryTable/index.js

        let result = "";
        if (statistics.length > 1) {
            result += statistics.length + " platforms were affected";
        } else {
            result += "1 platform was affected";
        }
        if (platformsWithSignificantChanges.length > 1) {
            result += " (:warning: if possible, only one platform should have significant changes in a PR)";
        } else {
            result += " ";
        }
        return result;
    }
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  3. .cm/plugins/filters/isEnabledAutomation/index.js

        }
    
        // If not found to be enabled by the above checks, check if enabled by user
        if (!result) {
            if (pr.author_is_org_member) {
                result = automationActivations.includes(pr.author);
            } else {
                result = automationActivations.includes('community');
            }
        }
    
        return result;
    }
    
    function extractCheckNames(inputString) {
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  4. .cm/plugins/filters/byPlatform/index.js

     */
    function byPlatform(files) {
        const result = new Map();
        files.forEach(file => {
            const platform = getPlatform(file);
            if (!result.has(platform)) {
                result.set(platform, []);
            }
            result.get(platform).push(file);
        });
    
        console.log("byPlatform: ");
        [...result.keys()].forEach(platform => {
            console.log("[" + platform + ": [" + result.get(platform).join(", ") + "]]");
        });
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Mon Apr 22 16:47:29 GMT 2024
    - 1K bytes
    - Viewed (0)
  5. .cm/plugins/filters/byCodeowner/index.js

                    .forEach(owner => {
                        if (!result.has(owner)) {
                            result.set(owner, []);
                        }
                        result.get(owner).push(f);
                    });
            });
    
            console.log("byCodeowner: ");
            [...result.keys()].forEach(owner => {
                console.log("[" + owner + ": [" + result.get(owner).join(", ") + "]]");
            });
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Mon Apr 22 19:12:32 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  6. .cm/plugins/filters/readField/index.js

        let group = Object.values(objects).find(s => s.name === objectName);
        if (group) {
            const result = group[fieldName];
            if (result === undefined) {
                throw "readField: field '" + fieldName + "' not found on object named '" + objectName + "' with fields '" + Object.keys(group) + "'";
            } else {
                return result;
            }
        } else {
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1K bytes
    - Viewed (0)
  7. .cm/plugins/filters/byCodeowner/ignore/index.js

                return p1 + unescaped
            }
        ],
    
        [
            // unescape, revert step 3 except for back slash
            // For example, if a user escape a '\\*',
            // after step 3, the result will be '\\\\\\*'
            /\\\\\\(?=[$.|*+(){^])/g,
            () => ESCAPE
        ],
    
        [
            // '\\\\' -> '\\'
            /\\\\/g,
            () => ESCAPE
        ],
    
        [
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 17.5K bytes
    - Viewed (0)
Back to top