brace-expansion 2.0.2 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -148,7 +148,7 @@ function expand(str, isTop) {
|
|
|
148
148
|
var y = numeric(n[1]);
|
|
149
149
|
var width = Math.max(n[0].length, n[1].length)
|
|
150
150
|
var incr = n.length == 3
|
|
151
|
-
? Math.abs(numeric(n[2]))
|
|
151
|
+
? Math.max(Math.abs(numeric(n[2])), 1)
|
|
152
152
|
: 1;
|
|
153
153
|
var test = lte;
|
|
154
154
|
var reverse = y < x;
|
|
@@ -200,4 +200,3 @@ function expand(str, isTop) {
|
|
|
200
200
|
|
|
201
201
|
return expansions;
|
|
202
202
|
}
|
|
203
|
-
|