Update resin-compose-parse dependency version to 1.10.2

Change-type: minor
This commit is contained in:
Ariel Flesler
2018-05-29 08:45:46 -03:00
committed by Ariel Flesler
parent 7bea2c26b8
commit b7f94a222d
2 changed files with 3 additions and 2 deletions

View File

@ -34,7 +34,8 @@ const resin = ResinSdk.fromSharedOptions();
export function getGroupDefaults(group: {
options: { name: string; default?: string }[];
}): { [name: string]: string | undefined } {
return _.chain(group)
return _
.chain(group)
.get('options')
.map(question => [question.name, question.default])
.fromPairs()