Skip to content

Commit

Permalink
linter should pass
Browse files Browse the repository at this point in the history
  • Loading branch information
spilliams committed Oct 16, 2024
1 parent b5b3bc4 commit 1b60678
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/hcl/terraform.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package hcl

import (
"encoding/json"
"errors"
"fmt"
"os"
"path"
Expand Down Expand Up @@ -74,7 +75,7 @@ func NewModule(logger *logrus.Logger) Module {
func (m *module) ParseModuleDirectory(dirname string) error {
module, diags := tfconfig.LoadModule(dirname)
if diags.HasErrors() {
return fmt.Errorf(diags.Error())
return errors.New(diags.Error())
}
m.module = module

Expand Down

0 comments on commit 1b60678

Please sign in to comment.