with defined dir

This commit is contained in:
Kasper Juul Hermansen 2022-10-29 23:08:07 +02:00
parent dfa693ea08
commit 001742340c
Signed by: kjuulh
GPG Key ID: 0F95C140730F2F23

View File

@ -32,7 +32,7 @@ func Build(builder *internal.Builder, imageTag string) error {
}
log.Println("listing files in /src/")
dir, err = os.ReadDir("/src/")
dir, err := os.ReadDir("/src/")
if err == nil {
for _, d := range dir {
log.Printf("content: %s\n", d.Name())