tart run: allow "--dir" with "--suspendable" (#1082)

This commit is contained in:
Nikolay Edigaryev
2025-05-30 17:24:09 +04:00
committed by GitHub
parent 8248f19943
commit 71159373e5
-3
View File
@@ -320,9 +320,6 @@ struct Run: AsyncParsableCommand {
if !(config.platform is PlatformSuspendable) {
throw ValidationError("You can only suspend macOS VMs")
}
if dir.count > 0 {
throw ValidationError("Suspending VMs with shared directories is not supported")
}
if noTrackpad {
throw ValidationError("--no-trackpad cannot be used with --suspendable")