Initialize HTMLRedirectAlias before ShowPlan()

Without it, no alias information is generated when running --check
This commit is contained in:
Noah Campbell 2013-09-13 15:06:37 -07:00
parent d45fb72f67
commit 172ff5ea7a

View file

@ -116,6 +116,9 @@ func (s *Site) Build() (err error) {
func (s *Site) Analyze() {
s.Process()
s.initTarget()
s.Alias = &target.HTMLRedirectAlias{
PublishDir: s.absPublishDir(),
}
s.ShowPlan(os.Stdout)
}