cac
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -35,4 +35,8 @@ 'use strict'; | ||
.slice(1, 3) | ||
.sort() | ||
.reverse() | ||
if (splitNames.length === 1) { | ||
return { | ||
name: splitNames[0] | ||
} | ||
} | ||
splitNames = splitNames.sort(function (a, b) { return b.length - a.length; }) | ||
return { | ||
@@ -39,0 +43,0 @@ name: splitNames[0], |
{ | ||
"name": "cac", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "Command & Conquer, the command-line queen.", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
9435
173