Merge branch 'master' of github.com:babel/babel

This commit is contained in:
Sebastian McKenzie 2015-03-14 01:53:15 +11:00
commit 3172b5de5d

View File

@ -280,7 +280,7 @@ export default class File {
parseInputSourceMap(code: string) {
var opts = this.opts;
if (opts.inputSourceMap === false) {
if (opts.inputSourceMap !== false) {
var inputMap = convertSourceMap.fromSource(code);
if (inputMap) {
opts.inputSourceMap = inputMap.toObject();