Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for convert (0.8 sec)

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

        const makePosix = str => /^\\\\\?\\/.test(str)
        || /["<>|\u0000-\u001F]+/u.test(str)
            ? str
            : str.replace(/\\/g, '/')
    
        checkPath.convert = makePosix
    
        // 'C:\\foo'     <- 'C:\\foo' has been converted to 'C:/'
        // 'd:\\foo'
        const REGIX_IS_WINDOWS_PATH_ABSOLUTE = /^[a-z]:\//i
        checkPath.isNotRelative = path =>
            REGIX_IS_WINDOWS_PATH_ABSOLUTE.test(path)
    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)
  2. .cm/plugins/filters/byCodeowner/index.js

    /**
     * @module byCodeowner
     * @description Groups the PR's files' by owner based on the CODEOWNERs file.
     * @param {string[]} files - the gitStream's files context variable
     * @param {Object} pr - the gitStream's pr context variable
     * @param {string} token - access token with repo:read scope, used to read the CODEOWNERS file
     * @param {string} pathToCodeOwners - path from repo root to CODEOWNERS file
     * @returns {Map} - Map from owner name to list of files they own
    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)
  3. .cm/plugins/filters/isEnabledAutomation/index.js

        if (automationActivations.includes('always')) {
            result = true;
        } else {
            result = Object.values(pr.comments).some(comment => {
                const checks = extractCheckNames(comment.content);
                if (checks.includes(automationName)) {
                    return true;
                }
            });
        }
    
        // If not found to be enabled by the above checks, check if enabled by user
        if (!result) {
    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)
Back to top