Skip to content

Commit

Permalink
release v0.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
verdverm committed Apr 7, 2020
1 parent 8447f7c commit 5b65a00
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lib/runtime.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ func (R *Runtime) WriteOutput() []error {


for _, G := range R.Generators {
fmt.Println("Write Output", G.Name)
// fmt.Println("Write Output", G.Name)
if G.Disabled {
continue
}
Expand Down Expand Up @@ -313,18 +313,18 @@ func (R *Runtime) WriteOutput() []error {
}

// Cleanup File & Shadow
fmt.Println("Clean Shadow", G.Name)
// fmt.Println("Clean Shadow", G.Name)
for f, _ := range G.Shadow {
fmt.Println(" -", G.Name, f, strings.TrimPrefix(f, G.Name + "/"))
err := os.Remove(f)
if err != nil {
fmt.Println("GOT HERE 1")
// fmt.Println("GOT HERE 1")
errs = append(errs, err)
continue
}
err = os.Remove(path.Join(gen.SHADOW_DIR, f))
if err != nil {
fmt.Println("GOT HERE 2")
// fmt.Println("GOT HERE 2")
errs = append(errs, err)
continue
}
Expand All @@ -341,13 +341,13 @@ func (R *Runtime) WriteOutput() []error {
fmt.Println(" -", f, f[strings.Index(f,"/"):])
err := os.Remove(f[strings.Index(f,"/")+1:])
if err != nil {
fmt.Println("GOT HERE 1")
// fmt.Println("GOT HERE 1")
errs = append(errs, err)
continue
}
err = os.Remove(path.Join(gen.SHADOW_DIR, f))
if err != nil {
fmt.Println("GOT HERE 2")
// fmt.Println("GOT HERE 2")
errs = append(errs, err)
continue
}
Expand Down

0 comments on commit 5b65a00

Please sign in to comment.