Update Bot (j'ai plus le repo sur GitHub)
Qui c'est la conne qui a delete le repo sur GitHub? C'EST MOIIIII
This commit is contained in:
16
node_modules/eslint/lib/linter/source-code-traverser.js
generated
vendored
16
node_modules/eslint/lib/linter/source-code-traverser.js
generated
vendored
@@ -17,8 +17,9 @@ const vk = require("eslint-visitor-keys");
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* @import { ESQueryParsedSelector } from "./esquery.js";
|
||||
* @import { Language, SourceCode } from "@eslint/core";
|
||||
* @import { ESQueryOptions } from "esquery";
|
||||
* @import { ESQueryParsedSelector } from "./esquery.js";
|
||||
* @import { SourceCodeVisitor } from "./source-code-visitor.js";
|
||||
*/
|
||||
|
||||
@@ -47,11 +48,10 @@ class ESQueryHelper {
|
||||
* Creates a new instance.
|
||||
* @param {SourceCodeVisitor} visitor The visitor containing the functions to call.
|
||||
* @param {ESQueryOptions} esqueryOptions `esquery` options for traversing custom nodes.
|
||||
* @returns {NodeEventGenerator} new instance
|
||||
*/
|
||||
constructor(visitor, esqueryOptions) {
|
||||
/**
|
||||
* The emitter to use during traversal.
|
||||
* The visitor to use during traversal.
|
||||
* @type {SourceCodeVisitor}
|
||||
*/
|
||||
this.visitor = visitor;
|
||||
@@ -288,7 +288,10 @@ class SourceCodeTraverser {
|
||||
false,
|
||||
)
|
||||
.forEach(selector => {
|
||||
visitor.callSync(selector, step.target);
|
||||
visitor.callSync(
|
||||
selector,
|
||||
...(step.args ?? [step.target]),
|
||||
);
|
||||
});
|
||||
currentAncestry.unshift(step.target);
|
||||
} else {
|
||||
@@ -300,7 +303,10 @@ class SourceCodeTraverser {
|
||||
true,
|
||||
)
|
||||
.forEach(selector => {
|
||||
visitor.callSync(selector, step.target);
|
||||
visitor.callSync(
|
||||
selector,
|
||||
...(step.args ?? [step.target]),
|
||||
);
|
||||
});
|
||||
}
|
||||
} catch (err) {
|
||||
|
||||
Reference in New Issue
Block a user