Skip to content

Commit

Permalink
fix(filesystem): audio stream could not be saved on device
Browse files Browse the repository at this point in the history
- add recursive option to create parent folders
  • Loading branch information
SimonGolms committed Apr 4, 2021
1 parent 920120a commit 711ab2a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/filesystem/filesystem.write.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const writeFile = async (directory: Directory, path: string, data: string) => {
directory,
encoding: Encoding.UTF8,
path,
recursive: true,
});
};

Expand Down

0 comments on commit 711ab2a

Please sign in to comment.