From 1ccbdfc15541c92af52fbe1b4c67e719ac3354bf Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Mon, 8 Jan 2018 15:27:39 -0800 Subject: [PATCH] wip --- bootstrap/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap/main.go b/bootstrap/main.go index d35e685..14f55c0 100644 --- a/bootstrap/main.go +++ b/bootstrap/main.go @@ -85,7 +85,7 @@ func (b *builder) Build(srcDir, dstDir string) { Chain(syntax.New().Placement(syntax.PlaceInline)). Chain(dom.New(fixup)). Chain(thumbnail.New()). - FilterPush(condition.If(len(b.root) > 0)). + FilterPush(condition.New(len(b.root) > 0)). Chain(abs.New().BaseUrl(b.root)). FilterPop(). End(dstDir)