Comparing version 1.1.8 to 1.1.9
@@ -12,6 +12,7 @@ var path = require("path"); | ||
var filePath; | ||
if (cow.indexOf("/") === -1) { | ||
if (cow.match(/\\/) || cow.match(/\//)) { | ||
filePath = cow; | ||
} else { | ||
filePath = path.join(__dirname, "/../cows", cow) + ".cow"; | ||
} else { | ||
filePath = path.relative(process.cwd(), cow); | ||
} | ||
@@ -18,0 +19,0 @@ text = fs.readFileSync(filePath, "utf-8"); |
{ | ||
"name": "cowsay", | ||
"version": "1.1.8", | ||
"version": "1.1.9", | ||
"description": "cowsay is a configurable talking cow", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
32266
59
0
77