Skip to content

Commit 4a1bdd2

Browse files
committed
fix(upload): Fix managedBuild flag for custom fetcher upload
1 parent 1e27f85 commit 4a1bdd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/fossa/upload/upload.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ func Do(io services.Services, c config.CLIConfig, data []api.SourceUnit) (APIRes
9999
io.Logger.Debugf("Uploading data from %#v modules: %#v", len(data), string(payload))
100100

101101
endpoint := "/api/builds/custom?locator=" + url.QueryEscape(module.Locator{Fetcher: c.Fetcher, Project: c.Project, Revision: c.Revision}.String()) + "&v=" + c.Version
102-
if c.Fetcher == "custom" && c.Project == "" {
102+
if c.Fetcher == "custom" {
103103
defaultProjectTitle := data[0].Name
104104
cwd, err := filepath.Abs(".")
105105
if err != nil {

0 commit comments

Comments
 (0)