mirror of
https://github.com/atom/atom.git
synced 2026-01-25 23:08:18 -05:00
Remove lookup in favor of passed arg
This commit is contained in:
@@ -111,8 +111,6 @@ Object.assign(PackageTranspilationRegistry.prototype, {
|
||||
},
|
||||
|
||||
transpileWithPackageTranspiler: function (sourceCode, filePath, spec) {
|
||||
var spec = this.specByFilePath[filePath]
|
||||
|
||||
Resolve = Resolve || require('resolve')
|
||||
var transpilerPath = Resolve.sync(spec.transpiler, {
|
||||
basedir: spec._config.path,
|
||||
|
||||
Reference in New Issue
Block a user