mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-01-03 04:26:39 +00:00
Merge pull request #2171 from balena-io/debug-logging
logging: note that the device supervisor version is operative
This commit is contained in:
commit
d74af38bfe
@ -152,7 +152,7 @@ export async function deployToDevice(opts: DeviceDeployOptions): Promise<void> {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
const version = await api.getVersion();
|
const version = await api.getVersion();
|
||||||
globalLogger.logDebug(`Checking device version: ${version}`);
|
globalLogger.logDebug(`Checking device supervisor version: ${version}`);
|
||||||
if (!semver.satisfies(version, '>=7.21.4')) {
|
if (!semver.satisfies(version, '>=7.21.4')) {
|
||||||
throw new ExpectedError(versionError);
|
throw new ExpectedError(versionError);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user