We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b83fd6 commit 7335d34Copy full SHA for 7335d34
src/index.js
@@ -55,6 +55,15 @@ function start() {
55
'git pull',
56
`git log --pretty=format:"%an|||%ae|||%s|||'%h|||%ad"`,
57
]
58
+
59
+ // Change the disk path when repo and program are on different disks
60
+ const curDiskSymbol = process.argv0.split(':')[0]
61
+ if (!String(repo).startsWith(curDiskSymbol)) {
62
+ const diskSymbol = String(repo).split(':')[0]
63
+ cmds.unshift(`${diskSymbol}:`)
64
+ }
65
66
+ // Gel full command
67
const cmd = cmds.join(' && ')
68
69
// Get commit records from git repo
0 commit comments