mirror of
https://gitcode.com/gh_mirrors/vue/vue-vben-admin
synced 2026-05-18 23:17:47 +00:00
16 lines
272 B
TypeScript
16 lines
272 B
TypeScript
import { exec, which } from 'shelljs';
|
|
|
|
function ignoreCaseGit() {
|
|
try {
|
|
if (which('git').code === 0) {
|
|
exec('git config core.ignorecase false ');
|
|
}
|
|
} catch (error) {
|
|
console.log(error);
|
|
}
|
|
}
|
|
|
|
export function runPostInstall() {
|
|
ignoreCaseGit();
|
|
}
|