Skip to content

Commit

Permalink
DEBUG
Browse files Browse the repository at this point in the history
Signed-off-by: JenTing Hsiao <[email protected]>
  • Loading branch information
jenting committed Aug 26, 2022
1 parent 8cb091a commit 8c2ae1a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions components/content-service/pkg/initializer/git.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,14 @@ func (ws *GitInitializer) Run(ctx context.Context, mappings []archive.IDMapping)
}
span.SetTag("cerr", cerr)
log.Infof("cerr: %v", cerr)

cmd = exec.Command("ls", "-al", ws.Location)
res, _ = cmd.CombinedOutput()
log.Infof("ls -al %s: %v", ws.Location, res)

cmd = exec.Command("ls", "-al", ws.Location+".git/")
res, _ = cmd.CombinedOutput()
log.Infof("ls -al %s: %v", ws.Location+".git/", res)
}
if err := ws.realizeCloneTarget(ctx); err != nil {
return src, xerrors.Errorf("git initializer clone: %w", err)
Expand Down

0 comments on commit 8c2ae1a

Please sign in to comment.