#!/usr/bin/env bash

_checkout_recipe() {
  if [[ -z "$1" ]]; then
    echo 'forgot to pass argument to function?'
    exit 1
  fi

  run git -C "$ABRA_DIR/recipes/$1" checkout .
  assert_success
}