<commit_before>#!/bin/sh

add_to_PATH () {
  for d; do
    d=$({ cd -- "$d" && { pwd -P || pwd; } } 2>/dev/null)  # canonicalize symbolic links
    if [ -z "$d" ]; then continue; fi  # skip nonexistent directory
    case ":$PATH:" in
      *":$d:"*) :;;
      *) PATH=$d:$PATH;;
    esac
  done
}

add_to_PATH /home/.composer/vendor/bin<commit_msg>do not fail if folder does not exist yet (the composer vendor folder does not exist yet)<commit_after>#!/bin/sh

add_to_PATH () {
  for d; do
    case ":$PATH:" in
      *":$d:"*) :;;
      *) PATH=$d:$PATH;;
    esac
  done
}

add_to_PATH /home/.composer/vendor/bin
{'fraction_non_alphanumeric': 0.18892508143322476, 'fraction_numerical': 0.0016286644951140066, 'mean_word_length': 2.75, 'pattern_counts': {'":': 4, '<': 3, '<?xml version=': 0, '>': 4, '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': '5696480', 'n_tokens_mistral': 242, 'n_tokens_neox': 231, 'n_words': 62}