Compare commits

..
Author SHA1 Message Date
phoenix 9d1fa65299 Code formatting 2025-11-14 13:34:19 -05:00
phoenix bad40076c6 Workflow fix 2025-11-14 13:34:03 -05:00
2 changed files with 1 additions and 8 deletions
+1 -7
View File
@@ -4,7 +4,7 @@ on: [push, pull_request] # Triggers on push or pull request events
jobs:
test:
name: Test and Lint
name: Test
runs-on: ubuntu-24.04
steps:
- name: Check out repository code
@@ -34,9 +34,3 @@ jobs:
- name: Run tests
run: go test -v ./... # Runs all tests in the project
- name: Run linter
uses: https://github.com/golangci/golangci-lint-action@v8
with:
go-version: '1.25.3'
version: latest
-1
View File
@@ -10,7 +10,6 @@ type MessageSender struct {
Numbers []contact.Contact
}
func (m *MessageSender) Send() error {
if len(m.Numbers) == 0 {
return fmt.Errorf("No numbers to send")