<commit_before>import { get, has, isFunction } from 'lodash';

function nested({ column }) {
  return (rowData) => {
    const { property } = column;

    if (!property) {
      return {};
    }

    // if users provide a custom getter instead of a
    // path for _.get, use that getter ...
    if (isFunction(property)) {
      return {
        ...rowData,
        [property]: property(rowData)
      };
    }

    // ... otherwise, make sure property exists, then _.get it
    if (!has(rowData, property)) {
      console.warn( // eslint-disable-line no-console
        `resolve.nested - Failed to find "${property}" property from`,
        rowData
      );

      return {};
    }
<commit_msg>nested: remove warning<commit_after>import { get, has, isFunction } from 'lodash';

function nested({ column }) {
  return (rowData) => {
    const { property } = column;

    if (!property) {
      return {};
    }

    // if users provide a custom getter instead of a
    // path for _.get, use that getter ...
    if (isFunction(property)) {
      return {
        ...rowData,
        [property]: property(rowData)
      };
    }

    // ... otherwise, make sure property exists, then _.get it
    if (!has(rowData, property)) {
      return {};
    }

{'fraction_non_alphanumeric': 0.14057507987220447, 'fraction_numerical': 0.0, 'mean_word_length': 2.071078431372549, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5645360', 'n_tokens_mistral': 371, 'n_tokens_neox': 360, 'n_words': 113}