Merge pull request #4146 from Rotzbua/fix_typo

fix: typos
This commit is contained in:
dfunckt 2023-12-22 14:56:47 +02:00 committed by GitHub
commit 8eacab2c4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 // TODO: clean up this mess of exports
export let requestMetadata: any; export let requestMetadata: any;

View File

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