mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-21 02:29:23 +00:00
IO.write -> IO.createDirectory
parent
6678a0fad3
commit
52c6ddc90f
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ module.exports = {
|
|||
const mp3Names = names.filter(isMp3);
|
||||
|
||||
// create mp3 directory
|
||||
await IO.write(`${mp3Dir}?dir`);
|
||||
await IO.createDirectory(mp3Dir);
|
||||
|
||||
// move *.mp3 files to mp3 directory
|
||||
await IO.move(dirPath, mp3Dir, mp3Names);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue