mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
prefer an arrow function
This commit is contained in:
@@ -208,7 +208,7 @@ BCp.processOneFileForTarget = function (inputFile, source) {
|
||||
}
|
||||
|
||||
try {
|
||||
var result = (function getTranspilerCompilation() {
|
||||
var result = (() => {
|
||||
const packagesSkipSwc = [];
|
||||
const fileSkipSwc = []; // top level await
|
||||
|
||||
@@ -271,7 +271,7 @@ BCp.processOneFileForTarget = function (inputFile, source) {
|
||||
}
|
||||
|
||||
return compilation;
|
||||
}).call(this);
|
||||
})();
|
||||
} catch (e) {
|
||||
if (e.loc) {
|
||||
// Error is from @babel/parser.
|
||||
|
||||
Reference in New Issue
Block a user