Skip to content

Commit 0a1be67

Browse files
committed
feat: add log to origin files
1 parent e4604db commit 0a1be67

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

git/git.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,8 @@ func listFilesOrigin(ctx context.Context, client *github.Client, repo repository
122122
func getDeletedFiles(basePath string, originFiles []string, deletedPath string, updatedFiles []string) []string {
123123

124124
files := []string{}
125+
fmt.Println("--- Origin files--")
126+
fmt.Println(originFiles)
125127
for _, f := range originFiles {
126128
if deletedPath == "" && !utils.FileExistsInList(updatedFiles, filepath.Join(basePath, f)) && (strings.HasSuffix(f, ".yml") || strings.HasSuffix(f, ".yaml")) {
127129
files = append(files, f)

0 commit comments

Comments
 (0)