2
0
Эх сурвалжийг харах

Merge pull request #1883 from porter-dev/master

Nil pointer check -> staging
abelanger5 4 жил өмнө
parent
commit
e104e5e435

+ 1 - 1
internal/integrations/ci/actions/actions.go

@@ -480,7 +480,7 @@ func deleteGithubFile(
 		opts,
 	)
 
-	if response.StatusCode == 404 {
+	if response != nil && response.StatusCode == 404 {
 		return nil
 	}