diff --git a/lib/gui/app/models/store.ts b/lib/gui/app/models/store.ts index f30b6069..27026e2a 100644 --- a/lib/gui/app/models/store.ts +++ b/lib/gui/app/models/store.ts @@ -200,7 +200,7 @@ function storeReducer( constraints.isDriveValid(drive, image) && !drive.isReadOnly && constraints.isDriveSizeRecommended(drive, image) && - // We don't want to auto-select large drives execpt is autoSelectAllDrives is true + // We don't want to auto-select large drives except if autoSelectAllDrives is true (!constraints.isDriveSizeLarge(drive) || shouldAutoselectAll) && // We don't want to auto-select system drives !constraints.isSystemDrive(drive) diff --git a/lib/gui/etcher.ts b/lib/gui/etcher.ts index f593f2f5..3292e77e 100644 --- a/lib/gui/etcher.ts +++ b/lib/gui/etcher.ts @@ -52,7 +52,7 @@ async function checkForUpdates(interval: number) { const release = await autoUpdater.checkForUpdates(); const isOutdated = semver.compare(release!.updateInfo.version, version) > 0; - const shouldUpdate = release!.updateInfo.stagingPercentage !== 0; // undefinded (default) means 100% + const shouldUpdate = release!.updateInfo.stagingPercentage !== 0; // undefined (default) means 100% if (shouldUpdate && isOutdated) { await autoUpdater.downloadUpdate(); packageUpdated = true; diff --git a/lib/gui/modules/child-writer.ts b/lib/gui/modules/child-writer.ts index 24630c77..c143b84c 100644 --- a/lib/gui/modules/child-writer.ts +++ b/lib/gui/modules/child-writer.ts @@ -108,7 +108,7 @@ export interface FlashResults extends WriteResult { } /** - * @summary writes the source to the destinations and valiates the writes + * @summary writes the source to the destinations and validates the writes * @param {SourceDestination} source - source * @param {SourceDestination[]} destinations - destinations * @param {Boolean} verify - whether to validate the writes or not