with defined dir
This commit is contained in:
parent
dfa693ea08
commit
001742340c
@ -32,7 +32,7 @@ func Build(builder *internal.Builder, imageTag string) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
log.Println("listing files in /src/")
|
log.Println("listing files in /src/")
|
||||||
dir, err = os.ReadDir("/src/")
|
dir, err := os.ReadDir("/src/")
|
||||||
if err == nil {
|
if err == nil {
|
||||||
for _, d := range dir {
|
for _, d := range dir {
|
||||||
log.Printf("content: %s\n", d.Name())
|
log.Printf("content: %s\n", d.Name())
|
||||||
|
Loading…
Reference in New Issue
Block a user