Skip to content

Commit

Permalink
Fix of previous commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
garbeam authored and Anselm Garbe committed Sep 17, 2019
1 parent dc8a460 commit 96531f4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions staw.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,9 @@ func main() {
site, err := os.Stat(*src)
dieOnError(err)
processPath(Args{*src, *src, *dst, *tpl, Page{site.Name(), *title, *prefix, "", "", nil}}, []string{})
if css != "" {
f, err := os.Stat(css)
if *css != "" {
f, err := os.Stat(*css)
dieOnError(err)
copyFile(css, *dst+"/"+f.Name())
copyFile(*css, *dst+"/"+f.Name())
}
}

0 comments on commit 96531f4

Please sign in to comment.