Skip to content

Commit

Permalink
Partially revert 078b35f: undo change in babel-helper-transform-fixtu…
Browse files Browse the repository at this point in the history
…re-test-runner
  • Loading branch information
jayaddison committed Jul 6, 2020
1 parent 078b35f commit e72d39b
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -4,6 +4,7 @@ import { buildExternalHelpers } from "@babel/core";
import getFixtures from "@babel/helper-fixtures";
import sourceMap from "source-map";
import { codeFrameColumns } from "@babel/code-frame";
import defaults from "lodash/defaults";
import escapeRegExp from "lodash/escapeRegExp";
import * as helpers from "./helpers";
import extend from "lodash/extend";
Expand Down Expand Up @@ -375,10 +376,9 @@ export default function (
run(task);
}

task.options = {
...task.options,
defaults(task.options, {
sourceMap: !!(task.sourceMappings || task.sourceMap),
};
});

extend(task.options, taskOpts);

Expand Down

0 comments on commit e72d39b

Please sign in to comment.