mirror of
https://github.com/atom/atom.git
synced 2026-01-25 14:59:03 -05:00
compile ➡️ transpile
This commit is contained in:
@@ -120,7 +120,7 @@ Object.assign(PackageTranspilationRegistry.prototype, {
|
||||
var transpiler = this.getTranspiler(spec)
|
||||
|
||||
if (transpiler) {
|
||||
var result = transpiler.compile(sourceCode, filePath, spec.options || {})
|
||||
var result = transpiler.transpile(sourceCode, filePath, spec.options || {})
|
||||
if (result === undefined) {
|
||||
return sourceCode
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user