Skip to content

Commit

Permalink
apply litining
Browse files Browse the repository at this point in the history
  • Loading branch information
ruflin committed Dec 2, 2019
1 parent d1c052c commit 5e9f80b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dev/generator/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,12 +170,12 @@ func buildPackage(packagesBasePath string, p util.Package) error {
}

if tarGz {
err = os.MkdirAll("../epr/package/" + p.Name, 0755)
err = os.MkdirAll("../epr/package/"+p.Name, 0755)
if err != nil {
return err
}

err = sh.RunV("tar", "cvzf", "../epr/package/" + p.Name + "/" +p.GetPath()+".tar.gz", filepath.Base(p.GetPath())+"/")
err = sh.RunV("tar", "cvzf", "../epr/package/"+p.Name+"/"+p.GetPath()+".tar.gz", filepath.Base(p.GetPath())+"/")
if err != nil {
return fmt.Errorf("Error creating package: %s: %s", p.GetPath(), err)
}
Expand Down

0 comments on commit 5e9f80b

Please sign in to comment.