Commit fba4cab5 authored by shangbj's avatar shangbj

sdf

parent 66fbde4f
......@@ -7,8 +7,8 @@
*/
var fs = require('fs');
var path = require('path');
console.log('______', process.env.HUSKY_GIT_PARAMS)
var gitPath = path.join(__dirname, '../.git/COMMIT_EDITMSG');
console.log('______', )
var gitPath = path.join('../', process.env.HUSKY_GIT_PARAMS);
var commitMsg = fs.readFileSync(gitPath, 'utf-8');
console.log(commitMsg.toString())
var pattern = /<<< HEAD/g;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment