fix: fix build pipeline error
Some checks failed
CI Workflow / Check GoReleaser config (pull_request) Successful in 6s
CI Workflow / CI (pull_request) Failing after 8m9s
CI Workflow / Code coverage report (pull_request) Has been skipped
CI Workflow / Test readiness for publishing provider (pull_request) Failing after 10m14s
Some checks failed
CI Workflow / Check GoReleaser config (pull_request) Successful in 6s
CI Workflow / CI (pull_request) Failing after 8m9s
CI Workflow / Code coverage report (pull_request) Has been skipped
CI Workflow / Test readiness for publishing provider (pull_request) Failing after 10m14s
This commit is contained in:
parent
6e23dab949
commit
451b78e205
1 changed files with 6 additions and 1 deletions
|
|
@ -678,7 +678,12 @@ func handleTfTagForDatasourceFile(filePath, service, resource string) error {
|
|||
}
|
||||
defer f.Close()
|
||||
|
||||
tmp, err := os.CreateTemp("", "replace-*")
|
||||
root, err := getRoot()
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
||||
tmp, err := os.CreateTemp(*root, "replace-*")
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue