Skip to content

Commit

Permalink
fix: typos
Browse files Browse the repository at this point in the history
Change-type: patch
  • Loading branch information
Rotzbua committed Dec 22, 2023
1 parent d1b5a2a commit aaac133
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/gui/app/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
8 changes: 4 additions & 4 deletions lib/gui/app/modules/image-writer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 &&
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit aaac133

Please sign in to comment.