Skip to content

Add export and import for profiles #1073

Add export and import for profiles

Add export and import for profiles #1073

Triggered via pull request November 16, 2023 12:54
Status Failure
Total duration 1m 6s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors
Linter: profile/api.go#L133
string `jpg` has 4 occurrences, make it a constant (goconst)
Linter: sync/profile.go#L127
File is not `gofumpt`-ed (gofumpt)
Linter: profile/fingerprint.go#L174
exported func ParseFingerprints returns unexported type *github.com/safing/portmaster/profile.parsedFingerprints, which can be annoying to use (golint)
Linter: profile/profile.go#L24
type name will be used as profile.ProfileSource by other packages, and that stutters; consider calling this Source (golint)
Linter: sync/profile.go#L275
`if` block ends with a `return` statement, so drop this `else` and outdent its block (golint)
Linter
issues found