Skip to content

Commit 65b609d

Browse files
cmarsPeterSchafer
andauthored
Update internal/analysis/analysis.go
Co-authored-by: PeterSchafer <101886095+PeterSchafer@users.noreply.github.com> Signed-off-by: Casey Marshall <cmars@users.noreply.github.com>
1 parent 3e008bb commit 65b609d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

internal/analysis/analysis.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,8 @@ func (a *analysisOrchestrator) CreateWorkspace(ctx context.Context, orgId string
111111
return "", fmt.Errorf("target is nil")
112112
}
113113

114-
var repositoryTargetPath, repositoryTargetURL string
114+
repositoryTargetPath := target.GetPath()
115+
var repositoryTargetURL string
115116
if repositoryTarget, ok := target.(*scan.RepositoryTarget); ok {
116117
repositoryTargetPath, repositoryTargetURL = repositoryTarget.GetPath(), repositoryTarget.GetRepositoryUrl()
117118
}

0 commit comments

Comments
 (0)