mirror of
https://github.com/thegeeklab/wp-s3-action.git
synced 2024-11-22 01:00:40 +00:00
chore(deps): update dependency golangci/golangci-lint to v1.56.1 (#88)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
This commit is contained in:
parent
4c2e212df3
commit
ee3c17903c
2
Makefile
2
Makefile
@ -1,7 +1,7 @@
|
|||||||
# renovate: datasource=github-releases depName=mvdan/gofumpt
|
# renovate: datasource=github-releases depName=mvdan/gofumpt
|
||||||
GOFUMPT_PACKAGE_VERSION := v0.6.0
|
GOFUMPT_PACKAGE_VERSION := v0.6.0
|
||||||
# renovate: datasource=github-releases depName=golangci/golangci-lint
|
# renovate: datasource=github-releases depName=golangci/golangci-lint
|
||||||
GOLANGCI_LINT_PACKAGE_VERSION := v1.55.2
|
GOLANGCI_LINT_PACKAGE_VERSION := v1.56.1
|
||||||
|
|
||||||
EXECUTABLE := wp-s3-action
|
EXECUTABLE := wp-s3-action
|
||||||
|
|
||||||
|
@ -410,7 +410,6 @@ func (a *AWS) List(path string) ([]string, error) {
|
|||||||
Prefix: aws.String(path),
|
Prefix: aws.String(path),
|
||||||
Marker: aws.String(remote[len(remote)-1]),
|
Marker: aws.String(remote[len(remote)-1]),
|
||||||
})
|
})
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return remote, err
|
return remote, err
|
||||||
}
|
}
|
||||||
|
@ -83,7 +83,9 @@ func (p *Plugin) createSyncJobs() error {
|
|||||||
localPath = strings.TrimPrefix(path, p.Settings.Source)
|
localPath = strings.TrimPrefix(path, p.Settings.Source)
|
||||||
localPath = strings.TrimPrefix(localPath, "/")
|
localPath = strings.TrimPrefix(localPath, "/")
|
||||||
}
|
}
|
||||||
|
|
||||||
local = append(local, localPath)
|
local = append(local, localPath)
|
||||||
|
|
||||||
p.Settings.Jobs = append(p.Settings.Jobs, Job{
|
p.Settings.Jobs = append(p.Settings.Jobs, Job{
|
||||||
local: filepath.Join(p.Settings.Source, localPath),
|
local: filepath.Join(p.Settings.Source, localPath),
|
||||||
remote: filepath.Join(p.Settings.Target, localPath),
|
remote: filepath.Join(p.Settings.Target, localPath),
|
||||||
|
Loading…
Reference in New Issue
Block a user