Skip to content

Commit

Permalink
Change name of .debricked-call-graph to debricked-call-graph (#138)
Browse files Browse the repository at this point in the history
  • Loading branch information
ProgHaj committed Oct 27, 2023
1 parent eeda795 commit d951d25
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion internal/callgraph/language/java11/job.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const (
maven = "maven"
gradle = "gradle"
dependencyDir = ".debrickedTmpFolder"
outputName = ".debricked-call-graph"
outputName = "debricked-call-graph"
)

type Job struct {
Expand Down
2 changes: 1 addition & 1 deletion internal/upload/batch.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var (
InitScanErr = errors.New("failed to initialize a scan")
)

const callgraphName = ".debricked-call-graph"
const callgraphName = "debricked-call-graph"

type uploadBatch struct {
client *client.IDebClient
Expand Down
4 changes: 2 additions & 2 deletions test/callgraph/maven_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ func TestGenerateCallgraph(t *testing.T) {
mavenProjectPath := filepath.Join("testdata", "mvnproj-build")
tmpFolder := filepath.Join(mavenProjectPath, ".debrickedTmpFolder")
targetFolder := filepath.Join(mavenProjectPath, "target")
callgraphFile := filepath.Join(mavenProjectPath, ".debricked-call-graph")
callgraphFile := filepath.Join(mavenProjectPath, "debricked-call-graph")

assert.NoDirExists(t, tmpFolder)
assert.NoDirExists(t, targetFolder)
Expand Down Expand Up @@ -43,7 +43,7 @@ func TestGenerateCallgraphNoBuild(t *testing.T) {
mavenProjectPath := filepath.Join("testdata", "mvnproj-no-build")
tmpFolder := filepath.Join(mavenProjectPath, ".debrickedTmpFolder")
targetFolder := filepath.Join(mavenProjectPath, "target")
callgraphFile := filepath.Join(mavenProjectPath, ".debricked-call-graph")
callgraphFile := filepath.Join(mavenProjectPath, "debricked-call-graph")

assert.NoFileExists(t, callgraphFile)
tmpFolderInfoBefore, tmpErr := os.Stat(tmpFolder)
Expand Down

0 comments on commit d951d25

Please sign in to comment.