Skip to content
Snippets Groups Projects
Commit 393dcf58 authored by Steven Hargrove's avatar Steven Hargrove Committed by Rhys Arkins
Browse files

fix: pasrse cli and env integers

parent 24c324c5
No related branches found
No related tags found
No related merge requests found
......@@ -24,6 +24,7 @@ function getConfig(argv) {
boolean: val => val === 'true',
list: val => val.split(',').map(el => el.trim()),
string: val => val,
integer: parseInt,
};
let program = new commander.Command().arguments('[repositories...]');
......
......@@ -26,6 +26,7 @@ function getConfig(env) {
list: val => val.split(',').map(el => el.trim()),
string: val => val,
json: val => JSON.parse(val),
integer: parseInt,
};
options.forEach(option => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment