Skip to content

Commit 91eb2b8

Browse files
author
Florian
committed
Fix codeclimate issue
1 parent 8993128 commit 91eb2b8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pkg/devspace/sync/util_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,9 @@ func getParentDir(localDir string, remoteDir string, outsideDir string, editLoca
118118
return remoteDir, nil
119119
} else if editLocation == editOutside {
120120
return outsideDir, nil
121-
} else {
122-
return "", errors.New("CreateLocation " + string(editLocation) + " unknown")
123121
}
122+
123+
return "", errors.New("CreateLocation " + string(editLocation) + " unknown")
124124
}
125125

126126
type checkedFileOrFolder struct {

0 commit comments

Comments
 (0)