Comparing version 0.2.2 to 0.2.3
@@ -15,3 +15,3 @@ var version = process.version; | ||
if (!!~['v1.0.0','v1.0.1'].indexOf(version)) { | ||
if (isIo && !~['v1.0.0','v1.0.1'].indexOf(version)) { | ||
var fs = require('fs'); | ||
@@ -21,3 +21,3 @@ var path = require('path'); | ||
var temp = path.join(process.cwd(), '.is-iojs-' + Math.random()); | ||
var temp = path.join(process.cwd(), '.is-iojs-ey4Be6vDPrGfXGey4Be6vDPrGfXG'); | ||
var epath = process.execPath; | ||
@@ -29,3 +29,3 @@ | ||
while (!(fs.existsSync(temp))) {} | ||
while (!fs.existsSync(temp)) {} | ||
fs.unlinkSync(temp); | ||
@@ -32,0 +32,0 @@ } |
{ | ||
"name": "is-iojs", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"description": "Determines if runtime is iojs", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
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
20254