@putout/engine-runner 28.0.2 → 28.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -97,7 +97,10 @@ function getStore(plugin, {fix, rule, msg, options}) {
97
97
 
98
98
  const push = (path, pathOptions) => {
99
99
  const position = getPosition(path);
100
- const message = msg || plugin.report(path, pathOptions);
100
+ const message = msg || plugin.report(path, {
101
+ ...options,
102
+ ...pathOptions,
103
+ });
101
104
 
102
105
  placesStore({
103
106
  message,
package/lib/validate.js CHANGED
@@ -5,7 +5,7 @@ const {isArray} = Array;
5
5
  export const validate = (name, fn) => {
6
6
  if (name === 'include-items') {
7
7
  if (!isArray(fn))
8
- throw Error(`☝️ Looks like 'include' do not returns an 'array'. More on using Includer: https://git.io/JqcMn`);
8
+ throw Error(`☝️ Looks like 'include' does not return an 'array'. More on using Includer: https://git.io/JqcMn`);
9
9
 
10
10
  return;
11
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@putout/engine-runner",
3
- "version": "28.0.2",
3
+ "version": "28.1.0",
4
4
  "type": "module",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "Run 🐊Putout plugins",