mirror of https://github.com/usbharu/Hideout.git
fix: git diffが失敗する問題を修正
This commit is contained in:
parent
06a7b035e4
commit
8d9a6e5426
|
@ -26,7 +26,7 @@ jobs:
|
|||
var tags = []
|
||||
|
||||
for (let [key, value] of Object.entries(jsonData.projects)) {
|
||||
const command = "git diff " + baseRef + " HEAD --name-only --relative=" + key + "\n";
|
||||
const command = "git diff " + baseRef + " -- HEAD --name-only --relative=" + key + "\n";
|
||||
const output = execSync(command, {encoding: 'utf8'});
|
||||
if (output.length != 0) {
|
||||
tags.push(value)
|
||||
|
|
Loading…
Reference in New Issue