mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 01:12:56 +03:00
8 lines
187 B
JavaScript
8 lines
187 B
JavaScript
require('dotenv').config();
|
|
|
|
const execSync = require('child_process').execSync;
|
|
|
|
if (process.env.HUSKY_PRE_COMMIT) {
|
|
execSync('node_modules/.bin/lint-staged', { stdio: 'inherit' });
|
|
}
|