Skip to content

Commit

Permalink
fix: doMountJob needs to dock first
Browse files Browse the repository at this point in the history
  • Loading branch information
eseidel committed Sep 29, 2023
1 parent 0a71682 commit c32330b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/cli/lib/behavior/jobs/mount_job.dart
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ Future<JobResult> 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);
Expand Down

0 comments on commit c32330b

Please sign in to comment.