Skip to content

Commit 6ab37d0

Browse files
committed
tidy up TODOs
1 parent f0972f6 commit 6ab37d0

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

internal/backend/local/test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ func (runner *TestFileRunner) Test(file *moduletest.File) {
310310

311311
// Update the manifest file with the reason why each state file was created.
312312
err := runner.Suite.Manifest.WriteManifest()
313-
diags = diags.Append(err) // TODO(liamcervante): diagnostic?
313+
diags = diags.Append(err)
314314

315315
// If the graph walk was terminated, we don't want to add the diagnostics.
316316
// The error the user receives will just be:

internal/moduletest/graph/node_state_cleanup.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ func (n *NodeStateCleanup) Execute(evalCtx *EvalContext) {
5757
// If the state is empty, we still write it so we can store the
5858
// output values, but we don't need to run a destroy operation.
5959
if n.emptyState(state.State) {
60-
// TODO(liamcervante): No diagnostics here!
6160
diags = diags.Append(evalCtx.WriteFileState(n.stateKey, state))
6261
evalCtx.Renderer().DestroySummary(diags, state.Run, file, state.State)
6362
return

0 commit comments

Comments
 (0)