Skip to content

Commit

Permalink
Add missing return to FileStorage.write (#42004)
Browse files Browse the repository at this point in the history
  • Loading branch information
ravicious authored May 24, 2024
1 parent 0823f71 commit a54ec10
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export function createFileStorage(opts: {
return;
}
const text = stringify(state);
writeFile(filePath, text);
return writeFile(filePath, text);
}

function replace(json: any): void {
Expand Down

0 comments on commit a54ec10

Please sign in to comment.