1
0
mirror of https://github.com/danog/gojekyll.git synced 2024-11-30 11:09:01 +01:00
This commit is contained in:
Oliver Steele 2017-07-01 20:36:51 -04:00
parent 5dde0fb87c
commit a3ef961931
3 changed files with 1 additions and 3 deletions

View File

@ -36,7 +36,7 @@ func buildCommand(site *sites.Site) error {
}
func cleanCommand(site *sites.Site) error {
printPathSetting("Cleaner:", fmt.Sprint("Removing %s...", site.DestDir()))
printPathSetting("Cleaner:", fmt.Sprintf("Removing %s...", site.DestDir()))
if buildOptions.DryRun {
buildOptions.Verbose = true
}

View File

@ -101,7 +101,6 @@ func run(cmd string) error {
// kingpin should have provided help and exited before here
panic("unknown command")
}
return nil
}
// Load the site, and print the common banner settings.

View File

@ -41,7 +41,6 @@ func (s postsStrategy) collectible(filename string) bool {
func (s postsStrategy) future(filename string) bool {
t, ok := DateFromFilename(filename)
return false
return ok && t.After(time.Now())
}