mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-06-01 23:40:43 +00:00
dependencies: bump etcher-sdk to pull in fixes
Change-type: patch Signed-off-by: Gergely Imreh <gergely@balena.io>
This commit is contained in:
parent
3ae01fdaa0
commit
f2bd3c0ffb
@ -26,7 +26,10 @@ export class DriveList extends CustomDynamicList<
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected format(drive: _sdk.sourceDestination.BlockDevice) {
|
protected format(drive: _sdk.sourceDestination.BlockDevice) {
|
||||||
const size = drive.size / 1e9;
|
const size =
|
||||||
return `${drive.device} (${size.toFixed(1)} GB) - ${drive.description}`;
|
drive.size != null
|
||||||
|
? `${(drive.size / 1e9).toFixed(1).toString()} GB`
|
||||||
|
: 'Unknown size';
|
||||||
|
return `${drive.device} (${size}) - ${drive.description}`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -132,7 +132,7 @@
|
|||||||
"dockerode": "^2.5.5",
|
"dockerode": "^2.5.5",
|
||||||
"dockerode-options": "^0.2.1",
|
"dockerode-options": "^0.2.1",
|
||||||
"ejs": "^2.5.7",
|
"ejs": "^2.5.7",
|
||||||
"etcher-sdk": "^0.2.0",
|
"etcher-sdk": "^2.0.5",
|
||||||
"event-stream": "3.3.4",
|
"event-stream": "3.3.4",
|
||||||
"express": "^4.13.3",
|
"express": "^4.13.3",
|
||||||
"fast-boot2": "^1.0.9",
|
"fast-boot2": "^1.0.9",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user