mirror of
https://github.com/usbharu/Hideout.git
synced 2026-07-19 11:53:36 +00:00
fix: git diffが失敗する問題を修正
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user