Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for isNotRelative (0.17 sec)

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

        if (checkPath.isNotRelative(path)) {
            const r = '`path.relative()`d'
            return doThrow(
                `path should be a ${r} string, but got "${originalPath}"`,
                RangeError
            )
        }
    
        return true
    }
    
    const isNotRelative = path => REGEX_TEST_INVALID_PATH.test(path)
    
    checkPath.isNotRelative = isNotRelative
    checkPath.convert = p => p
    
    JavaScript
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 17.5K bytes
    - Viewed (0)
Back to top