From 0c184e2666f07075174e93272283968bf97e0af3 Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Fri, 4 Jun 2010 14:17:07 -0500 Subject: [PATCH] Don't add empty vocab-roots lines --- basis/command-line/command-line.factor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basis/command-line/command-line.factor b/basis/command-line/command-line.factor index 643afef669..f30182b936 100644 --- a/basis/command-line/command-line.factor +++ b/basis/command-line/command-line.factor @@ -28,7 +28,7 @@ SYMBOL: command-line : load-vocab-roots ( -- ) "user-init" get [ "factor-roots" rc-path dup exists? [ - utf8 file-lines [ add-vocab-root ] each + utf8 file-lines harvest [ add-vocab-root ] each ] [ drop ] if ] when ;