From 71159373e5ed79006e5fc932bc12e8a9fc4d980f Mon Sep 17 00:00:00 2001 From: Nikolay Edigaryev Date: Fri, 30 May 2025 15:24:09 +0200 Subject: [PATCH] tart run: allow "--dir" with "--suspendable" (#1082) --- Sources/tart/Commands/Run.swift | 3 --- 1 file changed, 3 deletions(-) diff --git a/Sources/tart/Commands/Run.swift b/Sources/tart/Commands/Run.swift index b8985a2..b00c706 100644 --- a/Sources/tart/Commands/Run.swift +++ b/Sources/tart/Commands/Run.swift @@ -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")