Comparing version 0.3.1-3 to 0.3.1-4
{ | ||
"name": "node-jq", | ||
"version": "0.3.1-3", | ||
"version": "0.3.1-4", | ||
"description": "Run jq in node", | ||
@@ -5,0 +5,0 @@ "main": "lib/jq.js", |
@@ -18,9 +18,5 @@ #!/usr/bin/env node | ||
const DOWNLOAD_URL = JQ_RELEASE_INFO.url + JQ_RELEASE_INFO.version + '/jq-' | ||
const BINARY_PATH = path.join(process.cwd(), 'node_modules/.bin/') | ||
const BINARY_PATH = path.join(__dirname, '../node_modules/.bin/') | ||
const SYSTEM_PATH = process.env.PATH | ||
console.log('process.cwd', process.cwd()) | ||
console.log('__dirname', __dirname) | ||
console.log('process.env.PATH', process.env.PATH) | ||
/** | ||
@@ -27,0 +23,0 @@ * Returns a clean path that helps avoid `which` finding bin files installed |
3
16682
366