From: dsc Date: Wed, 18 Apr 2012 17:03:22 +0000 (-0700) Subject: Fixes dreadfully obvious error with /datasources/all X-Git-Url: http://git.less.ly:3516/?a=commitdiff_plain;h=8b305eae70c31f521b55017bcdb90b9126f75471;p=limn.git Fixes dreadfully obvious error with /datasources/all --- diff --git a/lib/server/server.co b/lib/server/server.co index 7a53335..f5dcf5d 100755 --- a/lib/server/server.co +++ b/lib/server/server.co @@ -149,7 +149,7 @@ app.controller require './controllers/datasource' YAML_EXT_PAT = /\.ya?ml$/i app.get '/datasources/all', (req, res, next) -> data = {} - Seq + Seq() .seq glob, 'data/datasources/**/*.@(yaml|json)', {+nocase, +nosort}, Seq .seq (paths) -> readFilesAsync paths, this .seq (txts) -> @ok _.items txts