Skip to content

Commit

Permalink
Back to simple version to deal with relative paths
Browse files Browse the repository at this point in the history
Fixes babel#93
  • Loading branch information
mischkl committed Apr 5, 2016
1 parent 479df51 commit 740e47f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ module.exports = function(source, inputSourceMap) {
}

if (options.sourceFileName === undefined) {
options.sourceFileName = path.resolve(path.relative(
options.sourceFileName = '.' + path.sep + path.relative(
options.sourceRoot,
options.filename
));
Expand Down

0 comments on commit 740e47f

Please sign in to comment.