Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/dev' into adreed/stgexp-wildcard…
Browse files Browse the repository at this point in the history
…-bug
  • Loading branch information
adreed-msft committed Mar 8, 2023
2 parents 61262ef + 8fdbb24 commit 7c99be9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,20 @@ jobs:
golangci:
strategy:
matrix:
go: [1.17]
go: [1.18]
os: [ubuntu-latest, windows-latest, macos-latest]
name: lint
runs-on: ${{ matrix.os }}
steps:
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
uses: golangci/golangci-lint-action@v3
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.46
version: latest
# Optional: working directory, useful for monorepos
# working-directory: somedir

Expand Down
5 changes: 0 additions & 5 deletions cmd/copyEnumeratorInit.go
Original file line number Diff line number Diff line change
Expand Up @@ -616,11 +616,6 @@ func (cca *CookedCopyCmdArgs) MakeEscapedRelativePath(source bool, dstIsDir bool
return pathEncodeRules(relativePath, cca.FromTo, cca.disableAutoDecoding, source)
}

// user is not placing the source as a subdir
if object.isSourceRootFolder() && !asSubdir {
relativePath = ""
}

// If it's out here, the object is contained in a folder, or was found via a wildcard, or object.isSourceRootFolder == true
if object.isSourceRootFolder() {
relativePath = "" // otherwise we get "/" from the line below, and that breaks some clients, e.g. blobFS
Expand Down
2 changes: 1 addition & 1 deletion testSuite/scripts/utility.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def execute_azcopy_info(self):
def execute_testsuite_upload(self):
return verify_operation(self.string())

# processes oauth command according to swtiches
# processes oauth command according to switches
def process_oauth_command(
cmd,
fromTo=""):
Expand Down

0 comments on commit 7c99be9

Please sign in to comment.