提交 e55ebd54 编写于 作者: Huan (李卓桓)'s avatar Huan (李卓桓)

doc(todo): use better git command

上级 4a8cbadc
......@@ -150,6 +150,7 @@ export class Wechaty extends EventEmitter implements Sayable {
public version(forceNpm = false): string {
// TODO: use git rev-parse HEAD ?
const dotGitPath = path.join(__dirname, '..', '.git') // only for ts-node, not for dist
// TODO: use git rev-parse HEAD ?
const gitLogCmd = 'git'
const gitLogArgs = ['log', '--oneline', '-1']
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册