Comparing version 1.10.1 to 1.10.2
@@ -185,6 +185,14 @@ 'use strict'; | ||
// /tmp/core_%e.%p | ||
exports.coredir.push((path.parse(patt).dir)); | ||
var prefix = path.parse(patt).name.split('%')[0]; | ||
if (prefix !== coreFileNamePrefix[0]) { | ||
coreFileNamePrefix.push(prefix); | ||
var coredir_ = path.parse(patt).dir; | ||
if (fs.existsSync(coredir_)) { | ||
try { | ||
fs.accessSync(coredir_, fs.R_OK); | ||
exports.coredir.push(coredir_); | ||
var prefix = path.parse(patt).name.split('%')[0]; | ||
if (prefix !== coreFileNamePrefix[0]) { | ||
coreFileNamePrefix.push(prefix); | ||
} | ||
} catch (e) { | ||
console.log(coredir_ + ' is unaccessible: ' + e.message); | ||
} | ||
} | ||
@@ -191,0 +199,0 @@ } |
{ | ||
"name": "agentx", | ||
"version": "1.10.1", | ||
"version": "1.10.2", | ||
"description": "agentx is powered by alinode", | ||
@@ -5,0 +5,0 @@ "scripts": { |
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
62756
2047