autonum-app
Advanced tools
Comparing version 1.0.5 to 1.0.6
{ | ||
"name": "autonum-app", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "Updates package.json with auto-incrementing version", | ||
@@ -5,0 +5,0 @@ "author": "n3rdy.me", |
@@ -8,3 +8,3 @@ 'use strict'; | ||
const flags = args.filter(x => x.startsWith('--')) | ||
.reduce((m, f) => { m[f.substr(2)] = true; return m; }, {}); | ||
.reduce((m, f) => { m[f.substr(2).split('=')[0]] = f.substr(2).split('=')[1] || true; return m; }, {}); | ||
@@ -11,0 +11,0 @@ const packages = args.filter(x => !x.startsWith('--')) |
4536