Skip to content

Commit 3205d3a

Browse files
committed
DEBUG
Signed-off-by: JenTing Hsiao <[email protected]>
1 parent 8c2ae1a commit 3205d3a

File tree

1 file changed

+2
-2
lines changed
  • components/content-service/pkg/initializer

1 file changed

+2
-2
lines changed

components/content-service/pkg/initializer/git.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,11 +134,11 @@ func (ws *GitInitializer) Run(ctx context.Context, mappings []archive.IDMapping)
134134

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

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

0 commit comments

Comments
 (0)