diff options
Diffstat (limited to 'resources/resource.go')
-rw-r--r-- | resources/resource.go | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/resources/resource.go b/resources/resource.go index 6025cbf4c..4b81a478a 100644 --- a/resources/resource.go +++ b/resources/resource.go @@ -141,13 +141,6 @@ func (fd *ResourceSourceDescriptor) init(r *Spec) error { } fd.TargetPath = paths.ToSlashPreserveLeading(fd.TargetPath) - for i, base := range fd.TargetBasePaths { - dir := paths.ToSlashPreserveLeading(base) - if dir == "/" { - dir = "" - } - fd.TargetBasePaths[i] = dir - } if fd.NameNormalized == "" { fd.NameNormalized = fd.TargetPath |