Skip to content
This repository has been archived by the owner on May 6, 2022. It is now read-only.

Commit

Permalink
add debug statements
Browse files Browse the repository at this point in the history
  • Loading branch information
srinandan committed Feb 17, 2022
1 parent 91f1675 commit 99545c3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bundlegen/proxybundle/proxybundle.go
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ func archiveBundle(pathToZip, destinationPath string) (err error) {
if info.IsDir() {
relPath := strings.TrimPrefix(filePath, filepath.Dir(pathToZip))
zipEntry := strings.ReplaceAll(strings.TrimPrefix(relPath, string(os.PathSeparator))+string(os.PathSeparator), string(os.PathSeparator)+string(os.PathSeparator), string(os.PathSeparator))
clilog.Info.Println(zipEntry)
_, err = myZip.Create(zipEntry)
return err
}
Expand All @@ -318,6 +319,7 @@ func archiveBundle(pathToZip, destinationPath string) (err error) {
}
relPath := strings.TrimPrefix(filePath, filepath.Dir(pathToZip))
zipEntry := strings.ReplaceAll(strings.TrimPrefix(relPath, string(os.PathSeparator)), string(os.PathSeparator)+string(os.PathSeparator), string(os.PathSeparator))
clilog.Info.Println(zipEntry)
zipFile, err := myZip.Create(zipEntry)
if err != nil {
return err
Expand Down

0 comments on commit 99545c3

Please sign in to comment.