Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions json/public.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ func ParseFile(filename string) (rf *hcl.File, diags hcl.Diagnostics) {
diags = append(diags, &hcl.Diagnostic{
Severity: hcl.DiagWarning,
Summary: "Failed to close file",
Detail: fmt.Sprintf("The file %q was opened, but an error occured while closing it.", filename),
Detail: fmt.Sprintf("The file %q was opened, but an error occurred while closing it.", filename),
})
}
}()
Expand All @@ -119,7 +119,7 @@ func ParseFile(filename string) (rf *hcl.File, diags hcl.Diagnostics) {
{
Severity: hcl.DiagError,
Summary: "Failed to read file",
Detail: fmt.Sprintf("The file %q was opened, but an error occured while reading it.", filename),
Detail: fmt.Sprintf("The file %q was opened, but an error occurred while reading it.", filename),
},
}
}
Expand Down