1#!/usr/bin/env bash23# Runs `npx` through Yarn if necessary so that the environment variables are set up similarly across4# Yarn and npm.56# shellcheck disable=SC21547if [[ ! "$npm_config_user_agent" =~ yarn ]]; then8yarnexec -- npx"$@"9else10npx"$@"11fi12