#!/bin/bash

if [ -z "$HUSKY_HOOK" ] || [ "$HUSKY_HOOK" = "pre-commit" ]; then
    pnpm run lint:affected
fi
