Fix deprecation warning for os configure, when passing a bare UUID

Change-Type: patch
This commit is contained in:
Tim Perry 2017-12-22 16:07:19 +01:00
parent 743392017d
commit 34f24fe331

View File

@ -254,7 +254,8 @@ exports.configure =
'''
if params.uuid
console.warn(
'Directly passing a UUID to `resin os configure` is deprecated. Pass it with --uuid <uuid> instead.' +
'Directly passing a UUID to `resin os configure` is deprecated, and will stop working in future.\n' +
'Pass your device UUID with --device <uuid> instead.' +
if params.deviceApiKey
' Device api keys can be passed with --deviceApiKey.\n'
else '\n'