diff --git a/packages/cli/lib/behavior/jobs/mount_job.dart b/packages/cli/lib/behavior/jobs/mount_job.dart index 06c7a0a6..3ea8cd25 100644 --- a/packages/cli/lib/behavior/jobs/mount_job.dart +++ b/packages/cli/lib/behavior/jobs/mount_job.dart @@ -43,6 +43,9 @@ Future doMountJob( return JobResult.wait(waitUntil); } + // We must be docked at the shipyard to mount. + await dockIfNeeded(api, caches.ships, ship); + // TODO(eseidel): This should only remove mounts if we absolutely need to. // This could end up removing mounts before we need to. final toRemove = mountsToRemoveFromShip(ship, template);