Skip to content

Commit b41d47f

Browse files
authored
ci: fix build (#602)
* ci: trying to fix latest go version Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com> * fix: trying this Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com> * fix: lint * fix: lint Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com> * fix: go.mod Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com> * fix: typo Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com> * fix: lint --------- Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
1 parent ab03c35 commit b41d47f

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

embed.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ package main
33
import _ "embed"
44

55
//go:embed examples/demo.tape
6-
var DemoTape []byte
6+
var demoTape []byte

go.sum

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ github.com/charmbracelet/bubbletea v1.2.4 h1:KN8aCViA0eps9SCOThb2/XPIlea3ANJLUkv
2424
github.com/charmbracelet/bubbletea v1.2.4/go.mod h1:Qr6fVQw+wX7JkWWkVyXYk/ZUQ92a6XNekLXa3rR18MM=
2525
github.com/charmbracelet/colorprofile v0.2.3-0.20250311203215-f60798e515dc h1:4pZI35227imm7yK2bGPcfpFEmuY1gc2YSTShr4iJBfs=
2626
github.com/charmbracelet/colorprofile v0.2.3-0.20250311203215-f60798e515dc/go.mod h1:X4/0JoqgTIPSFcRA/P6INZzIuyqdFY5rm8tb41s9okk=
27-
github.com/charmbracelet/glamour v0.9.1 h1:Q7PdJLOx8EoepsXUvW6Puz5WQ3YUElIGQdYKrIpiGLA=
27+
github.com/charmbracelet/glamour v0.9.1 h1:11dEfiGP8q1BEqvGoIjivuc2rBk+5qEXdPtaQ2WoiCM=
2828
github.com/charmbracelet/glamour v0.9.1/go.mod h1:+SHvIS8qnwhgTpVMiXwn7OfGomSqff1cHBCI8jLOetk=
2929
github.com/charmbracelet/keygen v0.5.3 h1:2MSDC62OUbDy6VmjIE2jM24LuXUvKywLCmaJDmr/Z/4=
3030
github.com/charmbracelet/keygen v0.5.3/go.mod h1:TcpNoMAO5GSmhx3SgcEMqCrtn8BahKhB8AlwnLjRUpk=

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ var (
191191
return err
192192
}
193193

194-
_, err = f.Write(bytes.Replace(DemoTape, []byte("examples/demo.gif"), []byte(name+".gif"), 1))
194+
_, err = f.Write(bytes.Replace(demoTape, []byte("examples/demo.gif"), []byte(name+".gif"), 1))
195195
if err != nil {
196196
return err
197197
}

parser/parser_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ func (st *parseSourceTest) run(t *testing.T) {
302302
if st.writeFile {
303303
err := os.WriteFile("source.tape", []byte(st.srcTape), os.ModePerm)
304304
if err != nil {
305-
t.Fatalf(err.Error())
305+
t.Fatal(err)
306306
}
307307
}
308308

serve_windows.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
package main
55

66
// Windows doesn't support UID and GID, so we need to skip this.
7-
func dropUserPrivileges(gid int, uid int) error {
7+
func dropUserPrivileges(int, int) error {
88
return nil
99
}

0 commit comments

Comments
 (0)