Skip to content

Commit

Permalink
Mark package requires as being symbols.
Browse files Browse the repository at this point in the history
Thanks to Tobias Raeder for debugging this issue.

Fixes issue 4.
  • Loading branch information
nex3 committed Jan 18, 2011
1 parent c149593 commit fcb8a2c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/server/api.js
Expand Up @@ -87,6 +87,11 @@ exports.create = function(be) {
var first = true;

pkgStream.on('data', function(pkg) {
_.each(pkg.requires, function(req) {
req[0] = new String(req[0]);
req[0].lispType = 'symbol';
});

res.write(res.partial("archive-contents.ejs", {
locals: {pkg: pkg},
layout: false
Expand Down

0 comments on commit fcb8a2c

Please sign in to comment.