// exclude eslint and typescript problems from making git pre-commit hook fail
// exclude eslint and typescript problems from making git pre-commit hook fail
// we may change this in the future
// we may change this in the future
if ((issueCount-(eslintProblems.length+typescriptProblems.length))>0){
if ((issueCount-(eslintProblemCount+typescriptProblems.length))>0){
if (args.staged===true){
if (args.staged===true){
log(`You can temporarily disable the pre-commit hook by changing 'Edit Sanity Check Settings' -> 'Running sanity checks before commiting' in "setup.${process.platform==="win32"?"bat":"sh"}" to 'Sanity checks are temporarily disabled...'`);
log(`You can temporarily disable the pre-commit hook by changing 'Edit Sanity Check Settings' -> 'Running sanity checks before commiting' in "setup.${process.platform==="win32"?"bat":"sh"}" to 'Sanity checks are temporarily disabled...'`);