Skip to content

Commit b800018

Browse files
lowercase error strings
1 parent 6bb7eab commit b800018

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

client/auth.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ func fetchWithAuth(method string, url string) ([]byte, error) {
8888
return nil, err
8989
}
9090
if code == 402 {
91-
return nil, fmt.Errorf("To run and submit the tests for this lesson, you must have an active Boot.dev membership\nhttps://boot.dev/pricing")
91+
return nil, fmt.Errorf("to run and submit the tests for this lesson, you must have an active Boot.dev membership\nhttps://boot.dev/pricing")
9292
}
9393
if code != 200 {
9494
return nil, fmt.Errorf("failed to %s to %s\nResponse: %d %s", method, url, code, string(body))

client/lessons.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ func SubmitCLILesson(uuid string, results []CLIStepResult) (*VerificationResultS
181181
return nil, err
182182
}
183183
if code == 402 {
184-
return nil, fmt.Errorf("To run and submit the tests for this lesson, you must have an active Boot.dev membership\nhttps://boot.dev/pricing")
184+
return nil, fmt.Errorf("to run and submit the tests for this lesson, you must have an active Boot.dev membership\nhttps://boot.dev/pricing")
185185
}
186186
if code != 200 {
187187
return nil, fmt.Errorf("failed to submit CLI lesson (code %v): %s", code, string(resp))

0 commit comments

Comments
 (0)