Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function entryPoints( pkgs ) {
var k;

total = pkgs.length;
out = new Array( total );
out = [];

debug( 'Determining main entry points for %d packages...', total );
for ( i = 0; i < total; i++ ) {
Expand All @@ -68,12 +68,12 @@ function entryPoints( pkgs ) {
main = pkgs[ i ].id;

debug( 'Determined main entry point for package: %s (%d of %d). Main: %s', pkg, k, total, main );
out[ i ] = {
out.push({
'id': main,
'pkg': pkg,
'dir': pkgs[ i ].dir,
'entries': []
};
});
}
debug( 'Finished determining main entry points.' );

Expand Down