@putout/engine-runner
Advanced tools
Comparing version 6.7.0 to 6.7.1
@@ -58,3 +58,2 @@ 'use strict'; | ||
const nodeFrom = template.ast(from); | ||
const mark = watermark(from, to, path); | ||
@@ -61,0 +60,0 @@ |
'use strict'; | ||
const {generate} = require('@putout/engine-parser'); | ||
const tryCatch = require('try-catch'); | ||
@@ -15,8 +14,7 @@ | ||
const debug = require('debug')('putout:runner:template'); | ||
const generateCode = (a) => generate(a).code; | ||
const {entries} = Object; | ||
const log = (rule, a) => { | ||
debug.enabled && debug(rule, generateCode(a)); | ||
const log = (rule, path) => { | ||
debug.enabled && debug(rule, path.toString()); | ||
}; | ||
@@ -81,3 +79,3 @@ | ||
return (path) => { | ||
log(rule, path.node); | ||
log(rule, path); | ||
@@ -84,0 +82,0 @@ if (nodesExclude.length && compareAny(path, nodesExclude)) |
{ | ||
"name": "@putout/engine-runner", | ||
"version": "6.7.0", | ||
"version": "6.7.1", | ||
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)", | ||
@@ -62,3 +62,2 @@ "description": "run putout plugins", | ||
"putout": "*", | ||
"redrun": "^7.0.2", | ||
"supertape": "^2.0.0" | ||
@@ -65,0 +64,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14
22063
564