From f71ba00b8d8d749d89c719bf69f9dc285e518416 Mon Sep 17 00:00:00 2001 From: Simo Kinnunen Date: Fri, 27 Jan 2017 15:18:11 +0900 Subject: [PATCH] Make sure that yargs respects our option types and doesn't convert anything to a number automagically. Caused an issue when a device's serial number was all digits. No implicit arrays accepted either. --- package.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package.json b/package.json index 71e53ce9..73020c22 100644 --- a/package.json +++ b/package.json @@ -25,6 +25,10 @@ "bin": { "stf": "./bin/stf" }, + "yargs": { + "parse-numbers": false, + "duplicate-arguments-array": false + }, "scripts": { "test": "gulp test", "prepublish": "bower install && not-in-install && gulp build || in-install"