vue-vben-admin/build/script/postinstall.ts

11 lines
194 B
TypeScript
Raw Normal View History

2020-09-28 20:19:10 +08:00
import { exec, which } from 'shelljs';
function ignoreCaseGit() {
try {
if (which('git')) {
exec('git config core.ignorecase false ');
}
} catch (error) {}
}
ignoreCaseGit();