vben-admin-thin-next/build/script/postinstall.ts
2020-09-28 20:19:10 +08:00

11 lines
194 B
TypeScript

import { exec, which } from 'shelljs';
function ignoreCaseGit() {
try {
if (which('git')) {
exec('git config core.ignorecase false ');
}
} catch (error) {}
}
ignoreCaseGit();