feat: Updates to check if playbook is installed prior to running any of the commands, updates tests.
This commit is contained in:
@@ -120,7 +120,11 @@ struct LiveFileClient: Sendable {
|
||||
|
||||
func isDirectory(_ url: URL) -> Bool {
|
||||
var isDirectory: ObjCBool = false
|
||||
manager.fileExists(atPath: url.cleanFilePath, isDirectory: &isDirectory)
|
||||
#if os(Linux)
|
||||
_ = manager.fileExists(atPath: url.cleanFilePath, isDirectory: &isDirectory)
|
||||
#else
|
||||
manager.fileExists(atPath: url.cleanFilePath, isDirectory: &isDirectory)
|
||||
#endif
|
||||
return isDirectory.boolValue
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user