Created
April 10, 2015 13:21
-
-
Save kwketh/b64bbf3994445e2b9c27 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var less = require('less'); | |
less.render('@import "missingfile.less"\n.class { width: (1 + 1) }', function (err, output) { | |
// err has error (missing ; on the @import line) | |
console.log("callback works as expected, error will be thrown."); | |
callUndefinedFunction(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment