Comparing version 2.6.2 to 2.7.0
@@ -49,3 +49,4 @@ { | ||
"/etc/va-release" : ["VA-Linux/RH-VALE"], | ||
"/etc/yellowdog-release" : ["Yellow Dog"] | ||
"/etc/yellowdog-release" : ["Yellow Dog"], | ||
"/etc/alpine-release": ["Alpine Linux"] | ||
} |
{ | ||
"name": "getos", | ||
"version": "2.6.2", | ||
"version": "2.7.0", | ||
"description": "Get the OS/Distribution name of the environment you are working on", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -23,3 +23,4 @@ [ | ||
, { "desc": "Alpine Linux", "platform": "linux", "file": { "/etc/alpine-release": "3.3\n" }, "expected": { "dist": "Alpine Linux", "os": "linux", "release": "3.3" } } | ||
] | ||
@@ -18,3 +18,3 @@ var color = require('cli-color') | ||
if(!fs.statSync(path.join(cwd,v1)).isDirectory()) return; | ||
process.stdout.write("Fetcing versions of "+capitalize(v1)+"... ") | ||
process.stdout.write("Fetching versions of "+capitalize(v1)+"... ") | ||
var versions = fs.readdirSync(path.join(cwd,v1)) | ||
@@ -21,0 +21,0 @@ process.stdout.write("["+color.green("OK!")+"]\n") |
25116
27
386