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 8c2ae1a commit 3205d3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/content-service/pkg/initializer/git.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,11 +134,11 @@ func (ws *GitInitializer) Run(ctx context.Context, mappings []archive.IDMapping)

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

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

0 comments on commit 3205d3a

Please sign in to comment.