<commit_before>#!/usr/bin/env bash
#
# Homebrew
#
# This updates Homebrew and it's formulaes.

source $DOTFILES/scripts/utils.sh

if [[ $(which brew) ]]; then
    e_header "Updating Homebrew and upgrading formulaes"
    brew update
    brew upgrade --all
    brew cleanup
    e_success "Updated and upgraded homebrew successfully"
fi

exit 0<commit_msg>added permission reset for node update<commit_after>#!/usr/bin/env bash
#
# Homebrew
#
# This updates Homebrew and it's formulaes.

source $DOTFILES/scripts/utils.sh

if [[ $(which brew) ]]; then
    e_header "Updating Homebrew and upgrading formulaes"

    # reset permissions for node
    sudo chown -R $(whoami) /usr/local

    brew update
    brew upgrade --all
    brew cleanup
    e_success "Updated and upgraded homebrew successfully"
fi

exit 0
{'fraction_non_alphanumeric': 0.08819875776397515, 'fraction_numerical': 0.002484472049689441, 'mean_word_length': 3.553672316384181, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '7176345', 'n_tokens_mistral': 261, 'n_tokens_neox': 243, 'n_words': 87}