fix: typos

Change-type: patch
This commit is contained in:
Rotzbua 2023-12-17 18:12:04 +01:00
parent d1b5a2aea1
commit aaac133670
No known key found for this signature in database
GPG Key ID: C69022D529C17845
2 changed files with 5 additions and 5 deletions

View File

@ -135,7 +135,7 @@ function setDrives(drives: Dictionary<DrivelistDrive>) {
}
}
// Spwaning the child process without privileges to get the drives list
// Spawning the child process without privileges to get the drives list
// TODO: clean up this mess of exports
export let requestMetadata: any;

View File

@ -130,7 +130,7 @@ async function performWrite(
console.log('Flash results', flashResults);
// The flash wasn't cancelled and we didn't get a 'done' event
// Catch unexepected situation
// Catch unexpected situation
if (
!flashResults.cancelled &&
!flashResults.skip &&
@ -166,15 +166,15 @@ async function performWrite(
cancelEmitter = (cancelStatus: string) => emit(cancelStatus);
// Now that we know we're connected we can instruct the child process to start the write
const paramaters = {
const parameters = {
image,
destinations: drives,
SourceType: image.SourceType,
autoBlockmapping,
decompressFirst,
};
console.log('params', paramaters);
emit('write', paramaters);
console.log('params', parameters);
emit('write', parameters);
});
// The process continue in the event handler