badguardhome/.githooks/pre-commit
Ainar Garipov a2d39c810a Pull request: dnsfilter: restore enum value
Merge in DNS/adguard-home from fix-filter-names to master

Squashed commit of the following:

commit 620d80df12878a1b236abb26cd2a331df998a3d5
Author: Ainar Garipov <A.Garipov@AdGuard.COM>
Date:   Mon Dec 14 20:02:41 2020 +0300

    dnsfilter: restore enum value
2020-12-14 20:12:57 +03:00

14 lines
184 B
Bash
Executable File

#!/bin/sh
set -e -f -u
if [ "$(git diff --cached --name-only '*.js')" ]
then
make js-lint js-test
fi
if [ "$(git diff --cached --name-only '*.go')" ]
then
make go-lint go-test
fi