mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-01-24 02:00:25 +08: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();
|
|
}
|