Skip to content

Commit fa83a1a

Browse files
add oxford comma back in
Co-authored-by: Liam Cervante <liam.cervante@hashicorp.com>
1 parent 154b9ce commit fa83a1a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

internal/lang/eval.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ func (s *Scope) evalContext(refs []*addrs.Reference, selfAddr addrs.Referenceabl
312312
// this codepath doesn't really "know about". If the "self"
313313
// object starts being supported in more contexts later then
314314
// we'll need to adjust this message.
315-
Detail: `The "self" object is not available in this context. This object can be used only in resource provisioner, connection and postcondition blocks.`,
315+
Detail: `The "self" object is not available in this context. This object can be used only in resource provisioner, connection, and postcondition blocks.`,
316316
Subject: ref.SourceRange.ToHCL().Ptr(),
317317
})
318318
continue

internal/terraform/evaluate_valid.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ func (e *Evaluator) staticValidateReference(ref *addrs.Reference, modCfg *config
6464
// this codepath doesn't really "know about". If the "self"
6565
// object starts being supported in more contexts later then
6666
// we'll need to adjust this message.
67-
Detail: `The "self" object is not available in this context. This object can be used only in resource provisioner, connection and postcondition blocks.`,
67+
Detail: `The "self" object is not available in this context. This object can be used only in resource provisioner, connection, and postcondition blocks.`,
6868
Subject: ref.SourceRange.ToHCL().Ptr(),
6969
})
7070
return diags

0 commit comments

Comments
 (0)