@putout/engine-runner
Advanced tools
Comparing version 13.2.1 to 13.3.0
@@ -7,3 +7,7 @@ 'use strict'; | ||
module.exports.getPosition = (path, shebang) => { | ||
const {node} = getPath(path); | ||
const parsedPath = getPath(path); | ||
validatePath(parsedPath); | ||
const {node} = parsedPath; | ||
const {loc} = node; | ||
@@ -28,1 +32,5 @@ | ||
function validatePath(path) { | ||
if (!path.node) | ||
throw Error(`☝️ Looks like 'push' called without a 'path' argument.`); | ||
} |
{ | ||
"name": "@putout/engine-runner", | ||
"version": "13.2.1", | ||
"version": "13.3.0", | ||
"type": "commonjs", | ||
@@ -5,0 +5,0 @@ "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)", |
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
32279
750