function convertToPositivePattern(pattern) {
    return isNegativePattern(pattern) ? pattern.slice(1) : pattern;
  }
When the `caseSensitiveMatch` option is disabled, all patterns must be marked as dynamic, because we cannot check
filepath directly (without read directory).