Post-review tweaks to OS actions

This commit is contained in:
Tim Perry 2018-07-12 12:13:41 +02:00
parent 0bf6fb1739
commit 36eb0a108e
3 changed files with 4 additions and 4 deletions

View File

@ -1012,7 +1012,7 @@ custom device key - note that this is only supported on ResinOS 2.0.3+
#### --version <version>
a ResinOS version
a resinOS version
#### --config <config>
@ -1153,7 +1153,7 @@ Examples:
#### --version <version>
a ResinOS version
a resinOS version
#### --application, -a, --app <application>

View File

@ -46,7 +46,7 @@ exports.optionalDeviceApiKey =
exports.optionalOsVersion =
signature: 'version'
description: 'a ResinOS version'
description: 'a resinOS version'
parameter: 'version'
exports.booleanDevice =

View File

@ -27,7 +27,7 @@ export function generateBaseConfig(
) {
options = _.mapValues(options, function(value, key) {
if (key === 'appUpdatePollInterval') {
return <number>value * 60 * 1000;
return options[key]! * 60 * 1000;
} else {
return value;
}