broccoli-eyeglass
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -261,10 +261,9 @@ var path = require('path'); | ||
var failure = this.handleFailure.bind(this, details); | ||
return new RSVP.Promise(function(resolve, reject) { | ||
this.events.emit("compiling", details) | ||
.then(function() { | ||
sass(details.options) | ||
.then(success, failure) | ||
.then(resolve, reject); | ||
}); | ||
}.bind(this)); | ||
return this.events.emit("compiling", details) | ||
.then(function() { | ||
return sass(details.options) | ||
.then(success, failure); | ||
}); | ||
}, | ||
@@ -283,6 +282,6 @@ | ||
var location = " at " + error.file + ":" + error.line + ":" + error.column; | ||
RSVP.rethrow(new Error(message + "\n" + location)); | ||
// TODO: implement fullException | ||
throw new Error(message + "\n" + location) | ||
}); | ||
return RSVP.allSettled([failed, rethrow]); | ||
return rethrow; | ||
}, | ||
@@ -289,0 +288,0 @@ |
{ | ||
"name": "broccoli-eyeglass", | ||
"description": "Sass compiler for Broccoli with Eyeglass Integration", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"author": "Chris Eppstein <chris@eppsteins.net>", | ||
@@ -6,0 +6,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23833
612