Skip to content

Commit

Permalink
ignore yarn warnings when upgrading global packages
Browse files Browse the repository at this point in the history
Until yarnpkg/yarn#6672 is resolved,
this kind of hacky solutions is the only way not to go bananas with
yarn's unactionable-for-me-warning-messages.
  • Loading branch information
sam-hosseini committed Apr 10, 2020
1 parent 3f3a9dd commit 3439d47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fish/functions/up.fish
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function up
pip-sync ~/personal/dotfiles/pip/requirements.txt

echo -e '####################################\n# Yarn \n####################################'
yarn global upgrade --silent
yarn global upgrade --silent 2>&1 | ack --invert-match warning

echo -e '\n####################################\n# Oh-My-Fish \n####################################'
omf update;
Expand Down

0 comments on commit 3439d47

Please sign in to comment.