1#!/usr/bin/env bash
2
3if ! yarn check --integrity 2>&1 > /dev/null
4then
5  echo
6  echo "    $(tput setaf 1)yarn check --integrity$(tput sgr0) failed!"
7  echo "    Your dependencies probably don't match the yarn.lock file."
8  echo "    Please run $(tput setaf 2)yarn install$(tput sgr0) and try again."
9  echo
10  exit 1
11fi
12