mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-24 23:37:18 +00:00
Remove useless comment
Change-type: patch
This commit is contained in:
parent
52f80293a2
commit
72c9d616fd
@ -128,23 +128,11 @@ async function flashImageToDrive(
|
|||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @summary Get progress button label
|
|
||||||
* @function
|
|
||||||
* @public
|
|
||||||
*
|
|
||||||
* @returns {String} progress button label
|
|
||||||
*
|
|
||||||
* @example
|
|
||||||
* const label = FlashController.getProgressButtonLabel()
|
|
||||||
*/
|
|
||||||
const getProgressButtonLabel = () => {
|
const getProgressButtonLabel = () => {
|
||||||
if (!flashState.isFlashing()) {
|
if (!flashState.isFlashing()) {
|
||||||
return 'Flash!';
|
return 'Flash!';
|
||||||
}
|
}
|
||||||
|
return progressStatus.fromFlashState(flashState.getFlashState());
|
||||||
// TODO: no any
|
|
||||||
return progressStatus.fromFlashState(flashState.getFlashState() as any);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const formatSeconds = (totalSeconds: number) => {
|
const formatSeconds = (totalSeconds: number) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user