Skip to content

Commit a3d10b0

Browse files
committed
Lint sources
1 parent db667f7 commit a3d10b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/SwiftkubeClient/Config/KubeConfig+Loaders.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,15 +125,15 @@ public extension KubeConfig {
125125
internal extension String {
126126

127127
func stringByExpandingTildePath() -> String {
128-
guard !self.isEmpty else {
128+
guard !isEmpty else {
129129
return ""
130130
}
131131

132132
if self == "~" {
133133
return FileManager.default.homeDirectoryForCurrentUser.path
134134
}
135135

136-
guard self.hasPrefix("~/") else {
136+
guard hasPrefix("~/") else {
137137
return self
138138
}
139139

0 commit comments

Comments
 (0)