Tiny typo in an error message

Changing "An module" to "A module" in an error message
This commit is contained in:
davidair 2020-07-17 11:09:45 -04:00 committed by GitHub
parent e320cd2b35
commit 5cde8b999b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -265,7 +265,7 @@ func (m *Module) appendFile(file *File) hcl.Diagnostics {
diags = append(diags, &hcl.Diagnostic{ diags = append(diags, &hcl.Diagnostic{
Severity: hcl.DiagError, Severity: hcl.DiagError,
Summary: "Duplicate module call", Summary: "Duplicate module call",
Detail: fmt.Sprintf("An module call named %q was already defined at %s. Module calls must have unique names within a module.", existing.Name, existing.DeclRange), Detail: fmt.Sprintf("A module call named %q was already defined at %s. Module calls must have unique names within a module.", existing.Name, existing.DeclRange),
Subject: &mc.DeclRange, Subject: &mc.DeclRange,
}) })
} }