Skip to content

Commit

Permalink
fix rebase operation
Browse files Browse the repository at this point in the history
  • Loading branch information
Connor Ivy committed Jul 2, 2024
1 parent af7051c commit 34f75b3
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,15 @@ public HostObjectBuilderResult Build(
CancellationToken cancellationToken
)
{
try
{
var objectsToConvert = _traverseFunction
.TraverseWithProgress(rootObject, onOperationProgressed, cancellationToken)
.Where(obj => obj.Current is not Collection);
var objectsToConvert = _traverseFunction
.TraverseWithProgress(rootObject, onOperationProgressed, cancellationToken)
.Where(obj => obj.Current is not Collection);

using TransactionGroup transactionGroup = new(_contextStack.Current.Document, $"Received data from {projectName}");
transactionGroup.Start();
_transactionManager.StartTransaction();

var conversionResults = BakeObjects(objectsToConvert);
var conversionResults = BakeObjects(objectsToConvert);

_transactionManager.CommitTransaction();
transactionGroup.Assimilate();
Expand Down

0 comments on commit 34f75b3

Please sign in to comment.