Uncomment important code

This commit is contained in:
Matthew Penner 2020-12-27 13:56:45 -07:00
parent 3a7c4822f8
commit 2cf24994d9

View File

@ -159,9 +159,9 @@ func (a *Archive) addToArchive(p string, rp string, w *tar.Writer) error {
target, err = os.Readlink(s.Name()) target, err = os.Readlink(s.Name())
if err != nil { if err != nil {
// Skip symlinks if the target does not exist. // Skip symlinks if the target does not exist.
/*if os.IsNotExist(err) { if os.IsNotExist(err) {
return nil return nil
}*/ }
return errors.WrapIff(err, "failed to read symlink target for '%s'", rp) return errors.WrapIff(err, "failed to read symlink target for '%s'", rp)
} }