Comparing version 0.2.10 to 0.2.11
@@ -11,3 +11,3 @@ #!/usr/bin/env node | ||
program | ||
.version('0.2.10') | ||
.version('0.2.11') | ||
.option('-v, --version', 'get version number') | ||
@@ -14,0 +14,0 @@ .option('-f, --force', 'overwrite file') |
@@ -81,3 +81,7 @@ 'use strict'; | ||
exports.use = function(name) { | ||
if (ip2mark(name) == markfile()) return; | ||
//console.log(ip2mark(name), markfile()); | ||
if (ip2mark(name) == markfile()) { | ||
console.log(name, 'is using'); | ||
return; | ||
} | ||
var ret = checkfile(ip2file(name)); | ||
@@ -84,0 +88,0 @@ if (ret === true) { |
{ | ||
"name": "ip2", | ||
"version": "0.2.10", | ||
"version": "0.2.11", | ||
"description": "another ip address & hosts tools", | ||
@@ -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
141061
16
481