From b3ed06f14d155e4494fdda7ad9192cc292272f47 Mon Sep 17 00:00:00 2001 From: Thomas Wang Date: Mon, 28 May 2018 09:44:47 -0700 Subject: [PATCH] remove debugger --- index.js | 1 - lib/parallel-api.js | 2 -- 2 files changed, 3 deletions(-) diff --git a/index.js b/index.js index d5745f3..229a7f0 100644 --- a/index.js +++ b/index.js @@ -81,7 +81,6 @@ Babel.prototype.baseDir = function() { }; Babel.prototype.transform = function(string, options) { - debugger; return transformString(string, options, { throwUnlessParallelizable: this.throwUnlessParallelizable }); diff --git a/lib/parallel-api.js b/lib/parallel-api.js index 8c8f811..7969cfb 100644 --- a/lib/parallel-api.js +++ b/lib/parallel-api.js @@ -135,8 +135,6 @@ function serializeOptions(options) { function transformString(string, babelOptions, buildOptions) { const isParallelizable = transformIsParallelizable(babelOptions); - debugger; - if (buildOptions !== null && typeof buildOptions === 'object' && buildOptions.throwUnlessParallelizable && !isParallelizable) { throw new Error('BroccoliBabelTranspiler was configured to `throwUnlessParallelizable` and was unable to parallelize an plugin. Please see: https://github.com/babel/broccoli-babel-transpiler#parallel-transpilation for more details'); }