mirror of
https://github.com/farcasclaudiu/openclaw.git
synced 2026-06-28 19:01:47 +03:00
Mac: finish Moltbot rename (paths)
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import Foundation
|
||||
|
||||
extension String {
|
||||
var nonEmpty: String? {
|
||||
let trimmed = self.trimmingCharacters(in: .whitespacesAndNewlines)
|
||||
return trimmed.isEmpty ? nil : trimmed
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user