We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95c8d53 commit ed563a8Copy full SHA for ed563a8
modules/git/repo_attribute.go
@@ -205,7 +205,7 @@ func (c *CheckAttributeReader) Run() error {
205
return nil
206
},
207
})
208
- if err != nil && c.ctx.Err() != nil && err.Error() != "signal: killed" {
+ if err != nil && c.ctx.Err() != err && err.Error() != "signal: killed" {
209
return fmt.Errorf("failed to run attr-check. Error: %w\nStderr: %s", err, stdErr.String())
210
}
211
0 commit comments