Update Bot
This commit is contained in:
2
node_modules/eslint/lib/linter/file-report.js
generated
vendored
2
node_modules/eslint/lib/linter/file-report.js
generated
vendored
@@ -426,7 +426,7 @@ function validateSuggestions(suggest, messages) {
|
||||
|
||||
if (typeof suggestion.fix !== "function") {
|
||||
throw new TypeError(
|
||||
`context.report() called with a suggest option without a fix function. See: ${JSON.stringify(suggestion, null, 2)}`,
|
||||
`context.report() called with a suggest option without a fix function. See: ${suggestion}`,
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user