Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for no (0.14 sec)

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

            .slice()
            .reverse()
            .find(x =>
                ignore()
                    .add(x.path)
                    .ignores(file)
            );
        if (!match) {
            console.log("No codeowner found for: " + file);
            return ['No owner'];
        }
        return match.owners;
    }
    
    module.exports = {
        async: true,
        filter: async (files, pr, token, pathToCodeOwners, callback) => {
    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)
  2. .cm/plugins/filters/byPlatform/index.js

            console.log("[" + platform + ": [" + result.get(platform).join(", ") + "]]");
        });
        return result;
    }
    
    function getPlatform(file) {
        let result = null; // Default to null in case no platform is found
    
        if (file.startsWith('platforms/')) {
            const parts = file.split('/');
            result = parts[1];
        }
    
        console.log(file + " = " + result);
        return result;
    }
    
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Mon Apr 22 16:47:29 GMT 2024
    - 1K bytes
    - Viewed (0)
  3. .cm/plugins/filters/byCodeowner/ignore/index.js

            // Notice that the '*'s have been replaced as '\\*'
            /^\^*\\\*\\\*\\\//,
    
            // '**/foo' <-> 'foo'
            () => '^(?:.*\\/)?'
        ],
    
        // starting
        [
            // there will be no leading '/'
            //   (which has been replaced by section "leading slash")
            // If starts with '**', adding a '^' to the regular expression also works
            /^(?=[^^])/,
            function startingReplacer () {
    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