mirror of
https://github.com/AdguardTeam/AdguardFilters.git
synced 2026-08-29 12:14:41 +00:00
* migrate from Yarn to npm package manager and update dependencies * update CODEOWNERS file with new ownership assignments and reorder entries
12 lines
444 B
JavaScript
12 lines
444 B
JavaScript
// See: https://typicode.github.io/husky/how-to.html#ci-server-and-docker
|
|
|
|
// Do not initialize Husky in CI environments. GitHub Actions set the CI env variable automatically.
|
|
// See: https://docs.github.com/en/actions/learn-github-actions/variables#default-environment-variables
|
|
if (process.env.CI === 'true') {
|
|
process.exit(0);
|
|
}
|
|
|
|
// Initialize Husky programmatically.
|
|
const husky = (await import('husky')).default;
|
|
console.log(husky());
|