Skip to content

Commit

Permalink
fix manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
allaVolkov committed Jun 25, 2019
1 parent 562b59d commit 03f9bfd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/artifacts/manifest.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ func getModulesEntries(source dir.ISourceModule, targetPathGetter dir.ITargetPat
return nil, errors.Wrapf(err, UnknownContentTypeMsg, mod.Name, ModuleMsgProperty)
}

moduleEntryPath := strings.Replace(modulePath, targetPathGetter.GetTargetTmpDir(), "", -1)
// get relative path of the module entry (excluding leading slash)
moduleEntryPath := strings.Replace(modulePath, targetPathGetter.GetTargetTmpDir(), "", -1)[1:]
entries = addModuleEntry(entries, mod, contentType, moduleEntryPath)
}

Expand Down

0 comments on commit 03f9bfd

Please sign in to comment.