10 lines
237 B
JavaScript
10 lines
237 B
JavaScript
'use strict';
|
|
|
|
const { runCommand } = require('./deploy-lib.cjs');
|
|
|
|
function main() {
|
|
runCommand('git', [ 'config', 'core.hooksPath', '.githooks' ], { stdio: 'inherit' });
|
|
console.log('已设置 core.hooksPath=.githooks');
|
|
}
|
|
|
|
main(); |