Skip to content

Commit

Permalink
fixed issue #44 (missing filename in coffeescript stack traces)
Browse files Browse the repository at this point in the history
  • Loading branch information
bjouhier committed Sep 5, 2011
1 parent a9f606e commit d2aaf44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/compiler/register.js
Expand Up @@ -93,7 +93,7 @@ exports.register = function(options) {

// either way, default to "lines preserve" since we're require()-ing.
options.lines = options.lines || "preserve";

options.sourceName = filename;
module._compile(transform.transform(compiled, options), filename);
};
};
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,7 +1,7 @@
{
"name": "streamline",
"description": "Asynchronous Javascript for dummies",
"version": "0.1.40",
"version": "0.1.41",
"engines": { "node": ">=0.4.0" },
"dependencies": {},
"author": "Bruno Jouhier",
Expand Down

0 comments on commit d2aaf44

Please sign in to comment.