Skip to content

Commit

Permalink
fix: [#430] Use semantic version. (#432)
Browse files Browse the repository at this point in the history
  • Loading branch information
030 authored Dec 25, 2023
1 parent 1177d4c commit fee9b2a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
verbose: true
if: ${{ startsWith(matrix.os, 'ubuntu') }}
- name: SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@master
uses: sonarsource/sonarcloud-github-action@v2.1.1
with:
args: >
-Dsonar.organization=030-github
Expand Down
6 changes: 2 additions & 4 deletions internal/app/n3dr/artifactsv2/upload/upload.go
Original file line number Diff line number Diff line change
Expand Up @@ -523,12 +523,10 @@ func (n *Nexus3) UploadSingleArtifact(client *client.Nexus3, path, localDiskRepo
}).Debug("Maven2 asset upload")
}

checkedMavenFoldersAll := append(checkedMavenFolders, dirPath)
checkedMavenFoldersUnique := lo.Uniq(checkedMavenFoldersAll)

checkedMavenFoldersMu.Lock()
defer checkedMavenFoldersMu.Unlock()
checkedMavenFolders = checkedMavenFoldersUnique
checkedMavenFolders = append(checkedMavenFolders, dirPath)
checkedMavenFolders = lo.Uniq(checkedMavenFolders)
case "npm":
c.Repository = localDiskRepo
f, err := os.Open(filepath.Clean(path))
Expand Down

0 comments on commit fee9b2a

Please sign in to comment.