Area restrita - Questionario

This commit is contained in:
2026-06-08 23:50:59 -03:00
parent f2e2400637
commit ef968f10ae
6972 changed files with 23454 additions and 2267883 deletions
@@ -36,9 +36,7 @@ var _default = exports.default = (0, _helperPluginUtils.declare)(({
const state = {
found: false
};
{
path.traverse(containsClassExpressionVisitor, state);
}
path.traverse(containsClassExpressionVisitor, state);
return state.found;
}
function wrap(path) {
@@ -46,9 +44,7 @@ var _default = exports.default = (0, _helperPluginUtils.declare)(({
yield: t.isYieldExpression(path.node),
await: t.isAwaitExpression(path.node)
};
{
path.traverse(containsYieldOrAwaitVisitor, context);
}
path.traverse(containsYieldOrAwaitVisitor, context);
let replacement;
if (context.yield) {
const fn = t.functionExpression(null, [], t.blockStatement([t.returnStatement(path.node)]), true, context.await);
File diff suppressed because one or more lines are too long