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

This commit is contained in:
Nikolay Edigaryev 2025-05-30 15:24:09 +02:00 committed by GitHub
parent 8248f19943
commit 71159373e5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 3 deletions

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")