Skip to content

Commit

Permalink
fix: lint on file copy err return value
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-s committed Jul 25, 2024
1 parent f12d293 commit e3d75b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/qernal_project_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func TestValidProject(t *testing.T) {

// copy provider.tf
defer os.Remove(fmt.Sprintf("%s/provider.tf", moduleName))
files.CopyFile("./modules/provider.tf", fmt.Sprintf("%s/provider.tf", moduleName))
err = files.CopyFile("./modules/provider.tf", fmt.Sprintf("%s/provider.tf", moduleName))
if err != nil {
t.Fatal("failed to copy provider file")
}
Expand Down Expand Up @@ -67,7 +67,7 @@ func TestOrganisationDataSource(t *testing.T) {

// Copy provider.tf
defer os.Remove(fmt.Sprintf("%s/provider.tf", moduleName))
files.CopyFile("./modules/provider.tf", fmt.Sprintf("%s/provider.tf", moduleName))
err = files.CopyFile("./modules/provider.tf", fmt.Sprintf("%s/provider.tf", moduleName))
if err != nil {
t.Fatal("failed to copy provider file")
}
Expand Down

0 comments on commit e3d75b9

Please sign in to comment.