mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-25 00:11:04 +00:00
Fix deprecation warning for os configure, when passing a bare UUID
Change-Type: patch
This commit is contained in:
parent
743392017d
commit
34f24fe331
@ -254,7 +254,8 @@ exports.configure =
|
|||||||
'''
|
'''
|
||||||
if params.uuid
|
if params.uuid
|
||||||
console.warn(
|
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
|
if params.deviceApiKey
|
||||||
' Device api keys can be passed with --deviceApiKey.\n'
|
' Device api keys can be passed with --deviceApiKey.\n'
|
||||||
else '\n'
|
else '\n'
|
||||||
|
Loading…
Reference in New Issue
Block a user