Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


fixed bug where 'next' was not defined when compiling less with syntax errors #241

merged 1 commit into from

2 participants


No description provided.

@techpines techpines merged commit f34bff0 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 17, 2013
  1. @vicapow
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/assets.js
2  lib/assets.js
@@ -84,7 +84,7 @@ var CssAsset = rack.Asset.extend({
if(error) self.emit('error', error);
var parser = new less.Parser();
parser.parse(self.lessContents, function(error, tree) {
- if (error) return next(error);
+ if (error) return self.emit('error');
var lessAsset = new rack.Asset({
url: '/assets/styles/style.less.css',
mimetype: 'text/css',
Something went wrong with that request. Please try again.